Documentation ¶
Index ¶
- Variables
- func AddCloser(name string, z io.Closer)
- func AddComponent[T any](name string, t T) T
- func Close() error
- func NewHttpOption(sub gn.SubscribeServer, conns gs.ConnectionsServer, tag gn.TagServer, ...) web.HttpServerOption
- func NewShuntOpt(local, remote netapi.Resolver) shunt.Opts
- func OpenBboltDB(path string) (*bbolt.DB, error)
- func RegisterGrpcService(sub gn.SubscribeServer, conns gs.ConnectionsServer, tag gn.TagServer)
- func Start(opt StartOpt) (err error)
- type StartOpt
Constants ¶
This section is empty.
Variables ¶
View Source
var App = app{Mux: http.NewServeMux()}
View Source
var PathGenerator = pathGenerator{}
Functions ¶
func AddComponent ¶
func NewHttpOption ¶
func NewHttpOption(sub gn.SubscribeServer, conns gs.ConnectionsServer, tag gn.TagServer, st *shunt.Shunt) web.HttpServerOption
func RegisterGrpcService ¶
func RegisterGrpcService(sub gn.SubscribeServer, conns gs.ConnectionsServer, tag gn.TagServer)
Types ¶
Click to show internal directories.
Click to hide internal directories.