mirror of
https://github.com/ChronosX88/yans.git
synced 2024-11-22 03:32:18 +00:00
18 lines
597 B
Go
18 lines
597 B
Go
package protocol
|
|
|
|
const (
|
|
CommandCapabilities = "CAPABILITIES"
|
|
CommandQuit = "QUIT"
|
|
CommandDate = "DATE"
|
|
CommandMode = "MODE"
|
|
CommandList = "LIST"
|
|
)
|
|
|
|
const (
|
|
MessageNNTPServiceReadyPostingProhibited = "201 YANS NNTP Service Ready, posting prohibited\n"
|
|
MessageReaderModePostingProhibited = "201 Reader mode, posting prohibited"
|
|
MessageNNTPServiceExitsNormally = "205 NNTP Service exits normally"
|
|
MessageUnknownCommand = "500 Unknown command"
|
|
MessageErrorHappened = "403 Failed to process command: "
|
|
)
|