Documentation ¶
Index ¶
- type FtpServer
- func (s *FtpServer) AuthUser(cc ftpserver.ClientContext, user, pass string) (ftpserver.ClientDriver, error)
- func (s *FtpServer) ClientConnected(cc ftpserver.ClientContext) (string, error)
- func (s *FtpServer) ClientDisconnected(cc ftpserver.ClientContext)
- func (s *FtpServer) Enabled() bool
- func (s *FtpServer) GetSettings() (*ftpserver.Settings, error)
- func (s *FtpServer) GetTLSConfig() (*tls.Config, error)
- func (s *FtpServer) Shutdown(ctx context.Context) error
- func (s *FtpServer) Startup(ctx context.Context, cancel context.CancelFunc)
- type Handler
- type HttpServer
- type Request
- type Server
- type SshServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FtpServer ¶
type FtpServer struct {
// contains filtered or unexported fields
}
func (*FtpServer) ClientConnected ¶
func (*FtpServer) ClientDisconnected ¶
func (s *FtpServer) ClientDisconnected(cc ftpserver.ClientContext)
func (*FtpServer) GetSettings ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func (*HttpServer) Enabled ¶
func (s *HttpServer) Enabled() bool
func (*HttpServer) ServeHTTP ¶
func (s *HttpServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*HttpServer) Startup ¶
func (s *HttpServer) Startup(ctx context.Context, cancel context.CancelFunc)
type Request ¶
type Request struct { Kind model.BruteAttemptKind Time time.Time Ip string User string Password string SessionId string ClientVersion string }
func (Request) ShortSessionId ¶
Click to show internal directories.
Click to hide internal directories.