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 keystorepb.KeystoreClient) *Client
NewClient returns a keystore instance connected to a remote keystore instance
func (*Client) GetDatabase ¶
type Server ¶
type Server struct { keystorepb.UnsafeKeystoreServer // contains filtered or unexported fields }
Server is a snow.Keystore that is managed over RPC.
func NewServer ¶
func NewServer(ks keystore.BlockchainKeystore) *Server
NewServer returns a keystore connected to a remote keystore
func (*Server) GetDatabase ¶
func (s *Server) GetDatabase( _ context.Context, req *keystorepb.GetDatabaseRequest, ) (*keystorepb.GetDatabaseResponse, error)
Click to show internal directories.
Click to hide internal directories.