Documentation ¶
Index ¶
- func CheckDefaultAdminExists(db *sql.DB) bool
- func CheckDefaultExchangeExists(db *sql.DB, name string) bool
- func CreateDefaultAdmin(db *sql.DB) error
- func CreateDefaultAdminRoles(db *sql.DB) error
- func CreateDefaultExchanges(db *sql.DB) error
- func CreateDefaultRoles(db *sql.DB) error
- func CreateExchangesTable(db *sql.DB, driver string) error
- func CreateRolesTable(db *sql.DB, driver string) error
- func CreateUsersRolesTable(db *sql.DB, driver string) error
- func CreateUsersTable(db *sql.DB, driver string) error
- type Exchange
- type Role
- type User
- type UserRole
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDefaultAdminExists ¶
func CreateDefaultAdmin ¶
func CreateDefaultAdminRoles ¶
func CreateDefaultExchanges ¶
func CreateDefaultRoles ¶
Types ¶
type Exchange ¶
type Exchange struct { ID int UserDefined int Name string AuthKey string AuthPassphrase string AuthSecret string Token string Currency string }
func (*Exchange) GetAllExchanges ¶
type User ¶
func (*User) GetUserByUsername ¶
Click to show internal directories.
Click to hide internal directories.