mirror of
https://github.com/ChronosX88/yans.git
synced 2024-11-22 03:32:18 +00:00
13 lines
184 B
Go
13 lines
184 B
Go
package protocol
|
|
|
|
import "fmt"
|
|
|
|
type NNTPResponse struct {
|
|
Code int
|
|
Message string
|
|
}
|
|
|
|
func (nr NNTPResponse) String() string {
|
|
return fmt.Sprintf("%d %s", nr.Code, nr.Message)
|
|
}
|