Documentation ¶
Index ¶
- func NewProxyServer(s indexedmapapi.IndexedMapServiceServer) indexedmapapi.IndexedMapServiceServer
- type ProxyServer
- func (s *ProxyServer) Clear(ctx context.Context, request *indexedmapapi.ClearRequest) (*indexedmapapi.ClearResponse, error)
- func (s *ProxyServer) Entries(request *indexedmapapi.EntriesRequest, ...) error
- func (s *ProxyServer) Events(request *indexedmapapi.EventsRequest, ...) error
- func (s *ProxyServer) FirstEntry(ctx context.Context, request *indexedmapapi.FirstEntryRequest) (*indexedmapapi.FirstEntryResponse, error)
- func (s *ProxyServer) Get(ctx context.Context, request *indexedmapapi.GetRequest) (*indexedmapapi.GetResponse, error)
- func (s *ProxyServer) LastEntry(ctx context.Context, request *indexedmapapi.LastEntryRequest) (*indexedmapapi.LastEntryResponse, error)
- func (s *ProxyServer) NextEntry(ctx context.Context, request *indexedmapapi.NextEntryRequest) (*indexedmapapi.NextEntryResponse, error)
- func (s *ProxyServer) PrevEntry(ctx context.Context, request *indexedmapapi.PrevEntryRequest) (*indexedmapapi.PrevEntryResponse, error)
- func (s *ProxyServer) Put(ctx context.Context, request *indexedmapapi.PutRequest) (*indexedmapapi.PutResponse, error)
- func (s *ProxyServer) Remove(ctx context.Context, request *indexedmapapi.RemoveRequest) (*indexedmapapi.RemoveResponse, error)
- func (s *ProxyServer) Size(ctx context.Context, request *indexedmapapi.SizeRequest) (*indexedmapapi.SizeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxyServer ¶
func NewProxyServer(s indexedmapapi.IndexedMapServiceServer) indexedmapapi.IndexedMapServiceServer
NewProxyServer creates a new read-only indexedmap server
Types ¶
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
ProxyServer is a read-only indexed map primitive server
func (*ProxyServer) Clear ¶
func (s *ProxyServer) Clear(ctx context.Context, request *indexedmapapi.ClearRequest) (*indexedmapapi.ClearResponse, error)
func (*ProxyServer) Entries ¶
func (s *ProxyServer) Entries(request *indexedmapapi.EntriesRequest, server indexedmapapi.IndexedMapService_EntriesServer) error
func (*ProxyServer) Events ¶
func (s *ProxyServer) Events(request *indexedmapapi.EventsRequest, server indexedmapapi.IndexedMapService_EventsServer) error
func (*ProxyServer) FirstEntry ¶
func (s *ProxyServer) FirstEntry(ctx context.Context, request *indexedmapapi.FirstEntryRequest) (*indexedmapapi.FirstEntryResponse, error)
func (*ProxyServer) Get ¶
func (s *ProxyServer) Get(ctx context.Context, request *indexedmapapi.GetRequest) (*indexedmapapi.GetResponse, error)
func (*ProxyServer) LastEntry ¶
func (s *ProxyServer) LastEntry(ctx context.Context, request *indexedmapapi.LastEntryRequest) (*indexedmapapi.LastEntryResponse, error)
func (*ProxyServer) NextEntry ¶
func (s *ProxyServer) NextEntry(ctx context.Context, request *indexedmapapi.NextEntryRequest) (*indexedmapapi.NextEntryResponse, error)
func (*ProxyServer) PrevEntry ¶
func (s *ProxyServer) PrevEntry(ctx context.Context, request *indexedmapapi.PrevEntryRequest) (*indexedmapapi.PrevEntryResponse, error)
func (*ProxyServer) Put ¶
func (s *ProxyServer) Put(ctx context.Context, request *indexedmapapi.PutRequest) (*indexedmapapi.PutResponse, error)
func (*ProxyServer) Remove ¶
func (s *ProxyServer) Remove(ctx context.Context, request *indexedmapapi.RemoveRequest) (*indexedmapapi.RemoveResponse, error)
func (*ProxyServer) Size ¶
func (s *ProxyServer) Size(ctx context.Context, request *indexedmapapi.SizeRequest) (*indexedmapapi.SizeResponse, error)
Click to show internal directories.
Click to hide internal directories.