Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New(opt ...ServerOption) (*Server, error)
type ServerOption ¶
type ServerOption func(*options) error
func FormatNumber ¶
func FormatNumber(fn convert) ServerOption
func MaxConcurrentConnections ¶
func MaxConcurrentConnections(n int) ServerOption
func MaxNumber ¶
func MaxNumber(n int) ServerOption
func UseNumberHandler ¶
func UseNumberHandler(b bool) ServerOption
Click to show internal directories.
Click to hide internal directories.