Documentation
¶
Index ¶
- func AuthCodeHost(redirectURI string, codeHostID int, logger *zap.SugaredLogger) (string, error)
- func CreateSystemCodeHost(codehost *models.CodeHost, _ *zap.SugaredLogger) (*models.CodeHost, error)
- func DeleteCodeHost(id int, _ *zap.SugaredLogger) error
- func EncypteCodeHost(encryptedKey string, codeHosts []*models.CodeHost, log *zap.SugaredLogger) ([]*models.CodeHost, 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 ListInternal(address, owner, source string, _ *zap.SugaredLogger) ([]*models.CodeHost, error)
- func SystemList(encryptedKey, address, owner, source string, log *zap.SugaredLogger) ([]*models.CodeHost, error)
- func UpdateCodeHost(host *models.CodeHost, _ *zap.SugaredLogger) (*models.CodeHost, error)
- func UpdateCodeHostToken(host *models.CodeHost, _ *zap.SugaredLogger) (*models.CodeHost, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthCodeHost ¶
func CreateSystemCodeHost ¶
func DeleteCodeHost ¶
func DeleteCodeHost(id int, _ *zap.SugaredLogger) error
func EncypteCodeHost ¶
func GetCodeHost ¶
func HandleCallback ¶
func ListInternal ¶
func SystemList ¶
func UpdateCodeHost ¶
func UpdateCodeHostToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.