# Functions
NewLogin creates a new http.Handler for the login operation.
NewLoginOK creates LoginOK with default headers values.
NewLoginParams creates a new LoginParams object no default values defined in spec.
NewLogout creates a new http.Handler for the logout operation.
NewLogoutOK creates LogoutOK with default headers values.
NewLogoutParams creates a new LogoutParams object no default values defined in spec.
NewSignup creates a new http.Handler for the signup operation.
NewSignupOK creates SignupOK with default headers values.
NewSignupParams creates a new SignupParams object no default values defined in spec.
NewUpdate creates a new http.Handler for the update operation.
NewUpdateOK creates UpdateOK with default headers values.
NewUpdateParams creates a new UpdateParams object no default values defined in spec.
NewUserInfo creates a new http.Handler for the user info operation.
NewUserInfoOK creates UserInfoOK with default headers values.
NewUserInfoParams creates a new UserInfoParams object no default values defined in spec.
# Constants
LoginOKCode is the HTTP code returned for type LoginOK.
LogoutOKCode is the HTTP code returned for type LogoutOK.
SignupOKCode is the HTTP code returned for type SignupOK.
UpdateOKCode is the HTTP code returned for type UpdateOK.
UserInfoOKCode is the HTTP code returned for type UserInfoOK.
# Structs
Login swagger:route POST /auth/login Authentication login
Login to MLModelScope platform
*/.
LoginOK login o k
swagger:response loginOK
*/.
LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request
swagger:parameters Login.
LoginURL generates an URL for the login operation.
Logout swagger:route POST /auth/logout Authentication logout
Logout from MLModelScope platform
*/.
LogoutOK logout o k
swagger:response logoutOK
*/.
LogoutParams contains all the bound params for the logout operation typically these are obtained from a http.Request
swagger:parameters Logout.
LogoutURL generates an URL for the logout operation.
Signup swagger:route POST /auth/signup Authentication signup
Signup to MLModelScope platform
*/.
SignupOK signup o k
swagger:response signupOK
*/.
SignupParams contains all the bound params for the signup operation typically these are obtained from a http.Request
swagger:parameters Signup.
SignupURL generates an URL for the signup operation.
Update swagger:route POST /auth/update Authentication update
Update User Info on MLModelScope platform
*/.
UpdateOK update o k
swagger:response updateOK
*/.
UpdateParams contains all the bound params for the update operation typically these are obtained from a http.Request
swagger:parameters Update.
UpdateURL generates an URL for the update operation.
UserInfo swagger:route GET /auth/userinfo Authentication userInfo
Get User's information
*/.
UserInfoOK user info o k
swagger:response userInfoOK
*/.
UserInfoParams contains all the bound params for the user info operation typically these are obtained from a http.Request
swagger:parameters UserInfo.
UserInfoURL generates an URL for the user info operation.
# Interfaces
LoginHandler interface for that can handle valid login params.
LogoutHandler interface for that can handle valid logout params.
SignupHandler interface for that can handle valid signup params.
UpdateHandler interface for that can handle valid update params.
UserInfoHandler interface for that can handle valid user info params.
# Type aliases
LoginHandlerFunc turns a function with the right signature into a login handler.
LogoutHandlerFunc turns a function with the right signature into a logout handler.
SignupHandlerFunc turns a function with the right signature into a signup handler.
UpdateHandlerFunc turns a function with the right signature into a update handler.
UserInfoHandlerFunc turns a function with the right signature into a user info handler.