package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jan 7, 2020
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type APIReferences struct {
Websocket APIWebsocket `json:"websocket"`
}
type APIWebsocket struct {
Addr string `json:"addr"`
PingPeriod time.Duration `json:"ping_period"`
}
Close closes the index properly
func (i *Index) HandleSignals()
HandleSignals handles signals
func (i *Index) On(c astibob.DispatchConditions, h astibob.MessageHandler)
On makes sure to handle messages with specific conditions
Wait waits for the index to be stopped
type Options struct {
Server astibob.ServerOptions `toml:"server"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.