Documentation ¶
Index ¶
- func CreateChatCompletions(c *gin.Context)
- func CreateCompletions(c *gin.Context)
- func Login(c *gin.Context)
- type GetAccessTokenRequest
- type GetAccessTokenResponse
- type UserLogin
- func (userLogin *UserLogin) CheckPassword(state string, username string, password string) (string, int, error)
- func (userLogin *UserLogin) CheckUsername(state string, username string) (int, error)
- func (userLogin *UserLogin) GetAccessToken(code string) (string, int, error)
- func (userLogin *UserLogin) GetAuthorizedUrl(csrfToken string) (string, int, error)
- func (userLogin *UserLogin) GetState(authorizedUrl string) (string, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateChatCompletions ¶
func CreateCompletions ¶
Types ¶
type GetAccessTokenRequest ¶
type GetAccessTokenResponse ¶
type UserLogin ¶
type UserLogin struct {
// contains filtered or unexported fields
}
func (*UserLogin) CheckPassword ¶
func (*UserLogin) CheckUsername ¶
func (*UserLogin) GetAccessToken ¶
func (*UserLogin) GetAuthorizedUrl ¶
Click to show internal directories.
Click to hide internal directories.