Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginHandler ¶
func LoginHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type LoginResponse ¶
type LoginResponse struct { TokenType string `json:"tokenType"` AccessToken string `json:"accessToken"` AccessTokenExpiresIn int64 `json:"accessTokenExpiresIn"` RefreshToken string `json:"refreshToken"` RefreshTokenExpiresIn int64 `json:"refreshTokenExpiresIn"` }
func (LoginResponse) MarshalEasyJSON ¶
func (v LoginResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (LoginResponse) MarshalJSON ¶
func (v LoginResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*LoginResponse) UnmarshalEasyJSON ¶
func (v *LoginResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*LoginResponse) UnmarshalJSON ¶
func (v *LoginResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type UserCreds ¶
func (UserCreds) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (UserCreds) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*UserCreds) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*UserCreds) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.