Documentation
¶
Index ¶
- Variables
- func GenerateHandlers() map[string]mist.HandleFunc
- func Register(name string, auth handleFunc)
- func Start(uris []string, token string) error
- func StartHTTP(uri string, errChan chan<- error)
- func StartHTTPS(uri string, errChan chan<- error)
- func StartTCP(uri string, errChan chan<- error)
- func StartWS(uri string, errChan chan<- error)
- func StartWSS(uri string, errChan chan<- error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotImplemented = fmt.Errorf("Error: Not Implemented\n")
)
View Source
var ( // Router ... Router = pat.New() )
Functions ¶
func Start ¶
Start attempts to individually start mist servers from a list of provided listeners; the listeners provided is a comma delimited list of uri strings (scheme:[//[user:pass@]host[:port]][/]path[?query][#fragment])
func StartHTTPS ¶
StartHTTPS starts a mist server listening over HTTPS
func StartTCP ¶
StartTCP starts a tcp server listening on the specified address (default 127.0.0.1:1445) and then continually reads from the server handling any incoming connections
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.