Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
*rux.Router
// Host server host. eg: localhost, 127.0.0.1
Host string
Port uint
// contains filtered or unexported fields
}
Server struct
func NewFsServer ¶ added in v1.4.1
func NewFsServer() *Server
NewFsServer creates a new Server provide fs serve.
func (*Server) SetHostPort ¶ added in v1.4.1
SetHostPort set host and port
Click to show internal directories.
Click to hide internal directories.