Documentation
¶
Index ¶
- func DB() *gorm.DB
- func GetDSN() *gorm.Dialector
- func GetMySQLDSN() string
- func GetPostgresDSN() string
- func Init(dialector gorm.Dialector)
- func Migrate()
- func NewAccessStorage() simple_storage.AccessStorage
- func NewAuthorizeStorage() simple_storage.AuthorizeStorage
- func NewClientStorage() storage.ClientStorage
- func NewUserStorage() simple_storage.UserStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMySQLDSN ¶
func GetMySQLDSN() string
func GetPostgresDSN ¶
func GetPostgresDSN() string
func NewAccessStorage ¶
func NewAccessStorage() simple_storage.AccessStorage
NewUserStorage func define
func NewAuthorizeStorage ¶
func NewAuthorizeStorage() simple_storage.AuthorizeStorage
NewUserStorage func define
func NewClientStorage ¶
func NewClientStorage() storage.ClientStorage
NewClientStorage Client storage
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.