Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewServerFunc ¶
type NewServerFunc func(port int) (ServerInterface, error)
var DefaultNew NewServerFunc = defaultNew
type ServerInterface ¶
type ServerInterface interface {
Start() error
}
func New ¶
func New(port int) (ServerInterface, error)
Click to show internal directories.
Click to hide internal directories.