Versions in this module Expand all Collapse all v1 v1.0.0 Mar 24, 2023 Changes in this version + var NoHandlerError = errors.New("no handler error") + type Option struct + IP string + Name string + Port int32 + Type string + type Server struct + Handler func(net.Conn, context.Context) + func New(opt *Option) *Server + func (server *Server) Initial() (err error) + func (server *Server) Listen() error + func (server *Server) RegisterHandler(handler func(net.Conn, context.Context))