model

package
v0.0.0-...-09f00c6 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 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 Dog

type Dog struct {
	ID        string `json:"_id"`
	Name      string `json:"name"`
	IsGoodBoy bool   `json:"isGoodBoy"`
	User      *User  `json:"user"`
}

type Login

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

type NewDog

type NewDog struct {
	Name      string `json:"name"`
	IsGoodBoy bool   `json:"isGoodBoy"`
}

type NewUser

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

type RefreshToken

type RefreshToken struct {
	Token string `json:"token"`
}

type User

type User struct {
	ID       string `json:"_id"`
	Username string `json:"username"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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