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