Versions in this module Expand all Collapse all v1 v1.9.8 Jun 28, 2023 Changes in this version + type Client struct + func NewClient(client sharedmemorypb.SharedMemoryClient) *Client + func (c *Client) Apply(requests map[ids.ID]*atomic.Requests, batches ...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 *sharedmemorypb.ApplyRequest) (*sharedmemorypb.ApplyResponse, error) + func (s *Server) Get(_ context.Context, req *sharedmemorypb.GetRequest) (*sharedmemorypb.GetResponse, error) + func (s *Server) Indexed(_ context.Context, req *sharedmemorypb.IndexedRequest) (*sharedmemorypb.IndexedResponse, error) v1.9.8-rc.9 Jun 28, 2023