resmodels

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: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginPost

type LoginPost struct {
	ID       int       `json:"id"`
	Username string    `json:"username"`
	Auth     TokenPost `json:"auth"`
}

LoginPost the response data for login

type TokenPost

type TokenPost struct {
	Token     string `json:"token"`
	CreatedAt string `json:"created_at"`
	ExpireAt  string `json:"expire_at"`
	DeleteAt  string `json:"delete_at"`
}

TokenPost the response data for Token Info

Jump to

Keyboard shortcuts

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