reqmodels

package
v0.0.0-...-41fd8b9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePasswordPost

type ChangePasswordPost struct {
	Username    string `json:"username"`
	Password    string `json:"password"`
	NewPassword string `json:"new_password"`
}

ChangePasswordPost the post data for changing password

type LoginPost

type LoginPost struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

LoginPost the post data for login

type TokenPost

type TokenPost struct {
	Username  string `json:"username"`
	AuthToken string `json:"auth_token"`
}

TokenPost the post data for posting token

Jump to

Keyboard shortcuts

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