api

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteBlog

func DeleteBlog(c *gin.Context)

func GenerateToken

func GenerateToken(username, password string) (string, error)

func GetBlog

func GetBlog(c *gin.Context)

func GetBlogs

func GetBlogs(c *gin.Context)

func LikeBlog

func LikeBlog(c *gin.Context)

func Login

func Login(c *gin.Context)

func ParseToken

func ParseToken(token string) (*static.Claims, error)

func PublishBlog

func PublishBlog(c *gin.Context)

func Register

func Register(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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