entity

package
v0.0.0-...-ebba24f Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

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

type Category

type Category struct {
	Name string `json:"name"`
}

type Claims

type Claims struct {
	//TODO: Add more info to track user see: https://stackoverflow.com/questions/216542/how-do-i-uniquely-identify-computers-visiting-my-web-site/3287761#
	Username  string `json:"username"`
	UserAgent string `json:"user_agent"`
	jwt.StandardClaims
}

type Todo

type Todo struct {
	ID          string   `json:"id"`
	Description string   `json:"description"`
	Category    Category `json:"category"`
}

Jump to

Keyboard shortcuts

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