Documentation ¶
Index ¶
- type Clients
- type Context
- type Server
- func (srv *Server) Connect(ctx context.Context, req *unitylanv1.ConnectRequest) (*unitylanv1.ConnectResponse, error)
- func (srv *Server) Context() context.Context
- func (srv *Server) Heartbeat(ctx context.Context, req *unitylanv1.HeartbeatRequest) (*unitylanv1.HeartbeatResponse, error)
- func (srv *Server) Log() *zap.SugaredLogger
- func (srv *Server) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { context.Context *zap.SugaredLogger Clients // contains filtered or unexported fields }
func (*Context) OnDoneClose ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Connect ¶
func (srv *Server) Connect(ctx context.Context, req *unitylanv1.ConnectRequest) (*unitylanv1.ConnectResponse, error)
func (*Server) Heartbeat ¶
func (srv *Server) Heartbeat(ctx context.Context, req *unitylanv1.HeartbeatRequest) (*unitylanv1.HeartbeatResponse, error)
func (*Server) Log ¶
func (srv *Server) Log() *zap.SugaredLogger
Click to show internal directories.
Click to hide internal directories.