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, _ *zap.SugaredLogger) (*models.CodeHost, error)
- func HandleCallback(stateStr string, r *http.Request, logger *zap.SugaredLogger) (string, error)
- func List(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 UpdateCodeHost ¶
func UpdateCodeHostByToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.