Documentation
¶
Index ¶
- Variables
- func AccountPath(name string) (string, error)
- func AccountRootPath() (string, error)
- func DeleteAccount(name string) error
- func ListAccounts() ([]string, error)
- func NewAccount(name string) (string, []byte, error)
- func NewUser(name string, accountSeed []byte, perms jwt.Permissions) (string, []byte, error)
- func ReadAccount(name string) (string, []byte, error)
- func ReadUser(name string) (string, []byte, error)
- func UserPath(name string) (string, error)
- func WriteAccount(name string, accountJWT string, accountSeed []byte) error
- func WriteUser(name string, userJWT string, userSeed []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAccountNotFound = errors.New("account not found")
)
View Source
var (
ErrUserNotFound = errors.New("user not found")
)
Functions ¶
func AccountPath ¶ added in v0.4.0
func AccountRootPath ¶ added in v0.4.0
func DeleteAccount ¶ added in v0.4.1
func ListAccounts ¶ added in v0.4.0
func WriteAccount ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.