Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitGQLClient ¶
func InitGQLClient()
Types ¶
type GQLError ¶
type GQLError string
const ( InvalidUsernamePasssword GQLError = "Invalid username or password" ServerError = "Unknown server error, try again later" )
type LoginInput ¶
func (*LoginInput) GetEmail ¶
func (v *LoginInput) GetEmail() string
GetEmail returns LoginInput.Email, and is useful for accessing the field via an interface.
func (*LoginInput) GetPassword ¶
func (v *LoginInput) GetPassword() string
GetPassword returns LoginInput.Password, and is useful for accessing the field via an interface.
type RefreshTokenInput ¶
type RefreshTokenInput struct {
Token string `json:"token"`
}
func (*RefreshTokenInput) GetToken ¶
func (v *RefreshTokenInput) GetToken() string
GetToken returns RefreshTokenInput.Token, and is useful for accessing the field via an interface.
Click to show internal directories.
Click to hide internal directories.