Documentation ¶
Index ¶
- func AuthCodeHost(redirectURI string, codeHostID int, logger *zap.SugaredLogger) (string, error)
- func CreateCodeHost(codehost *models.CodeHost, _ *zap.SugaredLogger) (*models.CodeHost, error)
- func DeleteCodeHost(id int, _ *zap.SugaredLogger) error
- func GetCodeHost(id int, ignoreDelete bool, _ *zap.SugaredLogger) (*models.CodeHost, error)
- func HandleCallback(stateStr string, r *http.Request, logger *zap.SugaredLogger) (string, error)
- func List(encryptedKey, address, owner, source string, log *zap.SugaredLogger) ([]*models.CodeHost, error)
- func ListInternal(address, owner, source string, _ *zap.SugaredLogger) ([]*models.CodeHost, error)
- func UpdateCodeHost(host *models.CodeHost, _ *zap.SugaredLogger) (*models.CodeHost, error)
- func UpdateCodeHostByToken(host *models.CodeHost, _ *zap.SugaredLogger) (*models.CodeHost, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthCodeHost ¶ added in v1.8.0
func CreateCodeHost ¶
func DeleteCodeHost ¶
func DeleteCodeHost(id int, _ *zap.SugaredLogger) error
func GetCodeHost ¶
func HandleCallback ¶ added in v1.8.0
func ListInternal ¶ added in v1.9.9
func UpdateCodeHost ¶
func UpdateCodeHostByToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.