Documentation ¶
Index ¶
- func CreateEthAccount() (privKey, pubKey, ethAddress string)
- func CreateSecret(key, payload string) error
- func DeleteSecret(key string) error
- func GetSecretValue(key string) (string, error)
- type AccountInfo
- type AccountRepository
- func (ar *AccountRepository) CreateUser(data *AccountInfo) error
- func (ar *AccountRepository) DeleteRespository() error
- func (ar *AccountRepository) DeleteUser(id string) error
- func (ar *AccountRepository) Exists() bool
- func (ar *AccountRepository) GetOrCreateRepository() *firestore.CollectionRef
- func (ar *AccountRepository) GetUser(id string) (*AccountInfo, error)
- func (ar *AccountRepository) UpdateUser(data *AccountInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEthAccount ¶
func CreateEthAccount() (privKey, pubKey, ethAddress string)
func CreateSecret ¶
func DeleteSecret ¶
func GetSecretValue ¶
Types ¶
type AccountInfo ¶
type AccountRepository ¶
func (*AccountRepository) CreateUser ¶
func (ar *AccountRepository) CreateUser(data *AccountInfo) error
func (*AccountRepository) DeleteRespository ¶
func (ar *AccountRepository) DeleteRespository() error
func (*AccountRepository) DeleteUser ¶
func (ar *AccountRepository) DeleteUser(id string) error
func (*AccountRepository) Exists ¶
func (ar *AccountRepository) Exists() bool
func (*AccountRepository) GetOrCreateRepository ¶
func (ar *AccountRepository) GetOrCreateRepository() *firestore.CollectionRef
func (*AccountRepository) GetUser ¶
func (ar *AccountRepository) GetUser(id string) (*AccountInfo, error)
func (*AccountRepository) UpdateUser ¶
func (ar *AccountRepository) UpdateUser(data *AccountInfo) error
Click to show internal directories.
Click to hide internal directories.