Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a snow.Keystore that talks over RPC.
func NewClient ¶
func NewClient(client gkeystoreproto.KeystoreClient, broker *plugin.GRPCBroker) *Client
NewClient returns a keystore instance connected to a remote keystore instance
func (*Client) GetDatabase ¶
type Server ¶
type Server struct { gkeystoreproto.UnimplementedKeystoreServer // contains filtered or unexported fields }
Server is a snow.Keystore that is managed over RPC.
func NewServer ¶
func NewServer(ks keystore.BlockchainKeystore, broker *plugin.GRPCBroker) *Server
NewServer returns a keystore connected to a remote keystore
func (*Server) GetDatabase ¶
func (s *Server) GetDatabase( _ context.Context, req *gkeystoreproto.GetDatabaseRequest, ) (*gkeystoreproto.GetDatabaseResponse, error)
Click to show internal directories.
Click to hide internal directories.