Documentation ¶
Index ¶
- func NewServer(s mapapi.MapServiceServer) mapapi.MapServiceServer
- type Server
- func (s *Server) Clear(ctx context.Context, request *mapapi.ClearRequest) (*mapapi.ClearResponse, error)
- func (s *Server) Entries(request *mapapi.EntriesRequest, server mapapi.MapService_EntriesServer) error
- func (s *Server) Events(request *mapapi.EventsRequest, server mapapi.MapService_EventsServer) error
- func (s *Server) Get(ctx context.Context, request *mapapi.GetRequest) (*mapapi.GetResponse, error)
- func (s *Server) Put(ctx context.Context, request *mapapi.PutRequest) (*mapapi.PutResponse, error)
- func (s *Server) Remove(ctx context.Context, request *mapapi.RemoveRequest) (*mapapi.RemoveResponse, error)
- func (s *Server) Size(ctx context.Context, request *mapapi.SizeRequest) (*mapapi.SizeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(s mapapi.MapServiceServer) mapapi.MapServiceServer
NewServer creates a new cached map server
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Clear ¶
func (s *Server) Clear(ctx context.Context, request *mapapi.ClearRequest) (*mapapi.ClearResponse, error)
func (*Server) Entries ¶
func (s *Server) Entries(request *mapapi.EntriesRequest, server mapapi.MapService_EntriesServer) error
func (*Server) Events ¶
func (s *Server) Events(request *mapapi.EventsRequest, server mapapi.MapService_EventsServer) error
func (*Server) Get ¶
func (s *Server) Get(ctx context.Context, request *mapapi.GetRequest) (*mapapi.GetResponse, error)
func (*Server) Put ¶
func (s *Server) Put(ctx context.Context, request *mapapi.PutRequest) (*mapapi.PutResponse, error)
func (*Server) Remove ¶
func (s *Server) Remove(ctx context.Context, request *mapapi.RemoveRequest) (*mapapi.RemoveResponse, error)
func (*Server) Size ¶
func (s *Server) Size(ctx context.Context, request *mapapi.SizeRequest) (*mapapi.SizeResponse, error)
Click to show internal directories.
Click to hide internal directories.