Versions in this module Expand all Collapse all v0 v0.1.3 Jun 25, 2022 v0.1.0 Jun 25, 2022 Changes in this version + type Client struct + func NewClient(client gsharedmemoryproto.SharedMemoryClient) *Client + func (c *Client) Apply(requests map[ids.ID]*atomic.Requests, batch ...database.Batch) error + func (c *Client) Get(peerChainID ids.ID, keys [][]byte) ([][]byte, error) + func (c *Client) Indexed(peerChainID ids.ID, traits [][]byte, startTrait, startKey []byte, limit int) ([][]byte, []byte, []byte, error) + type Server struct + func NewServer(sm atomic.SharedMemory, db database.Database) *Server + func (s *Server) Apply(_ context.Context, req *gsharedmemoryproto.ApplyRequest) (*gsharedmemoryproto.ApplyResponse, error) + func (s *Server) Get(_ context.Context, req *gsharedmemoryproto.GetRequest) (*gsharedmemoryproto.GetResponse, error) + func (s *Server) Indexed(_ context.Context, req *gsharedmemoryproto.IndexedRequest) (*gsharedmemoryproto.IndexedResponse, error)