Versions in this module Expand all Collapse all v1 v1.0.0 Jul 21, 2022 Changes in this version + type BlockchainKeystore interface + GetDatabase func(username, password string) (*encdb.Database, error) + GetRawDatabase func(username, password string) (database.Database, error) + type Client interface + CreateUser func(context.Context, api.UserPass, ...rpc.Option) (bool, error) + DeleteUser func(context.Context, api.UserPass, ...rpc.Option) (bool, error) + ExportUser func(context.Context, api.UserPass, ...rpc.Option) ([]byte, error) + ImportUser func(ctx context.Context, importTo api.UserPass, exportedUser []byte, ...) (bool, error) + ListUsers func(context.Context, ...rpc.Option) ([]string, error) + func NewClient(uri string) Client + type ExportUserArgs struct + Encoding formatting.Encoding + type ExportUserReply struct + Encoding formatting.Encoding + User string + type ImportUserArgs struct + Encoding formatting.Encoding + User string + type Keystore interface + CreateHandler func() (http.Handler, error) + CreateUser func(username, pw string) error + DeleteUser func(username, pw string) error + ExportUser func(username, pw string) ([]byte, error) + GetDatabase func(bID ids.ID, username, password string) (*encdb.Database, error) + GetRawDatabase func(bID ids.ID, username, password string) (database.Database, error) + ImportUser func(username, pw string, user []byte) error + ListUsers func() ([]string, error) + NewBlockchainKeyStore func(blockchainID ids.ID) BlockchainKeystore + func CreateTestKeystore() (Keystore, error) + func New(log logging.Logger, dbManager manager.Manager) Keystore + type ListUsersReply struct + Users []string v1.0.0-alpha Nov 22, 2022