message

package
v0.0.0-...-106859a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewUserRequest

type NewUserRequest struct {
	Username string `json:"username" validate:"required"`
	Password string `json:"password" validate:"required"`
}

func (NewUserRequest) Dereference

func (r NewUserRequest) Dereference(pointer interface{}) interface{}

func (NewUserRequest) NewPointer

func (r NewUserRequest) NewPointer() interface{}

type NewUserResponse

type NewUserResponse struct{}

type PasswordAuthRequest

type PasswordAuthRequest struct {
	Username     string `json:"username" validate:"required"`
	Password     string `json:"password" validate:"required"`
	ClientID     string `json:"client_id" validate:"required"`
	ClientSecret string `json:"client_secret" validate:"required"`
}

func (PasswordAuthRequest) Dereference

func (r PasswordAuthRequest) Dereference(pointer interface{}) interface{}

func (PasswordAuthRequest) NewPointer

func (r PasswordAuthRequest) NewPointer() interface{}

type PasswordAuthResponse

type PasswordAuthResponse struct {
	AccessToken string `json:"access_token"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL