Documentation ¶
Index ¶
- func CreateAdminUser(username string, db *gorm.DB) (*models.User, error)
- func CreateAgentUser(db *gorm.DB) (*models.User, error)
- func CreateEndpoint(db *gorm.DB, ep EndpointInput) (models.Endpoint, error)
- func CreateGuestUser(username string, db *gorm.DB) (*models.User, error)
- func DeleteSettingByKey(key string, db *gorm.DB) error
- func FirstAdmin(db *gorm.DB) (*models.User, error)
- func GetAgentToken(db *gorm.DB) (string, error)
- func GetSettingByKey(key string, db *gorm.DB) (*string, error)
- func GetUserByToken(token string, db *gorm.DB) (*models.User, error)
- func SetSettingByKey(key string, value string, db *gorm.DB) error
- type EndpointInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEndpoint ¶
Types ¶
type EndpointInput ¶
Click to show internal directories.
Click to hide internal directories.