Documentation ¶
Index ¶
- func CountKey(_number string) (int, error)
- func CreateApp(_appname string) error
- func CreateKey(_key model.Key) error
- func CreateLicense(_license model.License) error
- func FilterLicense(_number string) ([]*model.License, error)
- func FindApp(_appkey string, _appsecret string) (*model.Application, error)
- func FindKey(_appname string, _number string) (*model.Key, error)
- func FindLicense(_code string) ([]*model.License, error)
- func ListApp() ([]*model.Application, error)
- func ListKey(_appname string) ([]*model.Key, error)
- func QueryApp(_appname string) (*model.Application, error)
- func QueryKey(_number string) (*model.Key, error)
- func QueryLicense(_uid string) (*model.License, error)
- func UpdateAppProfile(_appname string, _profile string) error
- func UpdateAppSecurity(_appname string, _appKey string, _appSecret string, _privateKey string, ...) error
- func UpdateKeyProfile(_number string, _profile string) error
- func UpdateKeyStatus(_number string, _status int) error
- func UpdateLicenseUpdatedAt(_uid string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLicense ¶
func ListApp ¶
func ListApp() ([]*model.Application, error)
func UpdateAppProfile ¶
func UpdateAppSecurity ¶
func UpdateKeyProfile ¶
func UpdateKeyStatus ¶
func UpdateLicenseUpdatedAt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.