_map

package
v0.10.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL