Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiniServer ¶
type MiniServer struct {
Name string
Option serverOption
// contains filtered or unexported fields
}
func (*MiniServer) GetRouteTable ¶
func (s *MiniServer) GetRouteTable() string
func (*MiniServer) GetServerStatus ¶
func (s *MiniServer) GetServerStatus() (*ServerStatus, error)
func (*MiniServer) QuitWatch ¶
func (s *MiniServer) QuitWatch()
func (*MiniServer) Run ¶
func (s *MiniServer) Run()
func (*MiniServer) Shutdown ¶
func (s *MiniServer) Shutdown()
type Option ¶
type Option func(o *serverOption)
func WithBasicAuth ¶
func WithForceAuth ¶
func WithForceAuth() Option
func WithLogDir ¶
func WithLogLevel ¶
type ServerStatus ¶
type ServerStatus struct {
SystemStatus *system_status.SystemStatus
Host string
Port int
RouteCount int
RouteTable string
}
func (ServerStatus) Output ¶
func (s ServerStatus) Output()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.