mirror of
https://github.com/ChronosX88/yans.git
synced 2024-11-24 20:32:19 +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)
|
|
}
|