Documentation
¶
Index ¶
Constants ¶
View Source
const ( RestartMarkerReply = "110 Restart marker reply." ReadyInMinutes = "120 Service ready in nnn minutes." AlreadyOpen = "125 Data connection already open; transfer starting." FileStatusOk = "150 File status okay; about to open data connection." Ok = "200 Command okay." NotImplementedAtThisSite = "202 Command not implemented, superfluous at this site." SystemStatus = "211 System status, or system help reply." DirectoryStatus = "212 Directory status." FileStatus = "213 File status." HelpMessage = "214 Help message." NameSystemType = "215 %s system type." ReadyForNewUser = "220 Service ready for new user." ClosingControlConnection = "221 Service closing control connection." ConnectionOpen = "225 Data connection open; no transfer in progress." ClosingDataConnection = "226 Closing data connection." EnteringPassiveMode = "227 Entering Passive Mode (%s)." UserLoggedIn = "230 User logged in, proceed." FileActionOk = "250 Requested file action okay, completed." Created = "257 %q created." NeedPassword = "331 User name okay, need password." NeedAccountForLogin = "332 Need account for login." Peding = "350 Requested file action pending further information." LocalError = "421 Service not available, closing control connection." NotAvailable = "425 Can't open data connection." CantOpenConnection = "426 Connection closed; transfer aborted." ConnectionClosed = "450 Requested file action not taken." LocalErrorrInProcessing = "451 Requested action aborted: local error in processing." WrongCommand = "500 Syntax error, command unrecognized." WrongArguments = "501 Syntax error in parameters or arguments." NotImplemented = "502 Command not implemented." BadSequence = "503 Bad sequence of commands." NotImplementedForParameter = "504 Command not implemented for that parameter." NotLoggedIn = "530 Not logged in." NeedAccountForStoringFiles = "532 Need account for storing files." ActionNotTaken = "550 Requested action not taken." UnknownPageType = "551 Requested action aborted: page type unknown." NotEnoughSpace = "552 Requested file action aborted." DisallowedFileName = "553 Requested action not taken." )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
func ParseRequest ¶
type Response ¶
func NewResponse ¶
Click to show internal directories.
Click to hide internal directories.