Versions in this module Expand all Collapse all v1 v1.8.4 Feb 22, 2022 v1.8.3 Feb 22, 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) (bool, error) + DeleteUser func(context.Context, api.UserPass) (bool, error) + ExportUser func(context.Context, api.UserPass) ([]byte, error) + ImportUser func(ctx context.Context, importTo api.UserPass, exportedUser []byte) (bool, error) + ListUsers func(context.Context) ([]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