Documentation ¶
Overview ¶
Package server ...
Index ¶
- type Server
- func (p *Server) AddService(name string, service *rpc.Service, data rpc.Map) *Server
- func (p *Server) BuildReplyCache() *Server
- func (p *Server) Close() bool
- func (p *Server) IsRunning() bool
- func (p *Server) Listen(network string, addr string, tlsConfig *tls.Config) *Server
- func (p *Server) ListenWithDebug(network string, addr string, tlsConfig *tls.Config) *Server
- func (p *Server) OnReceiveStream(stream *rpc.Stream)
- func (p *Server) Open() bool
- func (p *Server) SetActionCache(actionCache rpc.ActionCache) *Server
- func (p *Server) SetLogHub(logHub rpc.IStreamHub) *Server
- func (p *Server) SetNumOfThreads(numOfThreads int) *Server
- func (p *Server) SetThreadBufferSize(threadBufferSize uint32) *Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server ...
func (*Server) AddService ¶
AddService ...
func (*Server) ListenWithDebug ¶
ListenWithDebug ...
func (*Server) OnReceiveStream ¶
OnReceiveStream ...
func (*Server) SetActionCache ¶
func (p *Server) SetActionCache(actionCache rpc.ActionCache) *Server
SetActionCache ...
func (*Server) SetNumOfThreads ¶
SetNumOfThreads ...
func (*Server) SetThreadBufferSize ¶
SetThreadBufferSize ...
Click to show internal directories.
Click to hide internal directories.