Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init_ ¶
Init a new instance.
If only need one instance, use empty name "". Use GetDefaultInstance() to get. If you need several instance, run Init() with different <name>. Use GetInstance(<name>) to get.
func SuccessResp ¶
status >0
Types ¶
type EchoServer ¶
func GetInstance ¶
func GetInstance() *EchoServer
func GetInstance_ ¶
func GetInstance_(name string) *EchoServer
func (*EchoServer) Close ¶
func (s *EchoServer) Close()
func (*EchoServer) Start ¶
func (s *EchoServer) Start() error
func (*EchoServer) StaticWeb ¶
func (s *EchoServer) StaticWeb()
Click to show internal directories.
Click to hide internal directories.