static

package
v0.0.0-...-c881740 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrivateKey string = "private key"

Functions

This section is empty.

Types

type BlogInfo

type BlogInfo struct {
	BlogID      int
	Author      string
	LikedNum    int
	BlogTitle   string
	BlogContent string
}

type Claims

type Claims struct {
	Username string `json:"username"`
	Password string `json:"password"`
	jwt.StandardClaims
}

type PublishInfo

type PublishInfo struct {
	Title   string `json:"title"`
	Content string `json:"content"`
}

type UserInfo

type UserInfo struct {
	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