Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintProto ¶ added in v0.8.2
func PrintProto(a []byte)
Types ¶
type AssetsServer ¶ added in v0.8.0
type AssetsServer struct { *Opts // contains filtered or unexported fields }
func NewAssetsServer ¶ added in v0.8.0
func NewAssetsServer(conf *Opts) (*AssetsServer, error)
func (*AssetsServer) Shutdown ¶ added in v0.8.0
func (s *AssetsServer) Shutdown()
func (*AssetsServer) Start ¶ added in v0.8.0
func (s *AssetsServer) Start() error
type NatsServer ¶ added in v0.6.0
type NatsServer struct { *Opts // contains filtered or unexported fields }
func NewNatsServer ¶ added in v0.6.0
func NewNatsServer(o *Opts) (*NatsServer, error)
func (*NatsServer) GetURL ¶ added in v0.6.0
func (s *NatsServer) GetURL() string
func (*NatsServer) HostPort ¶ added in v0.6.0
func (s *NatsServer) HostPort() string
func (*NatsServer) Shutdown ¶ added in v0.6.0
func (s *NatsServer) Shutdown()
func (*NatsServer) Start ¶ added in v0.6.0
func (s *NatsServer) Start() error
type Opts ¶ added in v0.8.0
type Opts struct { CaFile string CertFile string Debug bool Dir string KeyFile string Logger *logger.Logger PidDir string Port int RemoteNatsHostPort string NatsHostPort string TextFrames bool Trace bool WSHostPort string }
func DefaultOpts ¶ added in v0.8.0
func DefaultOpts() Opts
type ProxyWorker ¶
type ProxyWorker struct {
// contains filtered or unexported fields
}
func NewProxyWorker ¶
func (*ProxyWorker) Serve ¶
func (pw *ProxyWorker) Serve()
type WsServer ¶ added in v0.6.0
type WsServer struct { *Opts // contains filtered or unexported fields }
func NewWsServer ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.