api

package
v0.0.0-...-0ec75ca Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GithubCallbackAction

func GithubCallbackAction(c *gin.Context)

GithubCallbackAction ...

func Routes

func Routes(ret *gin.RouterGroup)

Routes returns a gin engine and binds controllers with request URLs.

Types

type Status

type Status struct {
	*service.PlatformStatus

	Name      string            `json:"name"`
	Nickname  string            `json:"nickname"`
	AvatarURL string            `json:"avatarURL"`
	BlogTitle string            `json:"blogTitle"`
	BlogURL   string            `json:"blogURL"`
	Role      int               `json:"role"`
	Blogs     []*model.UserBlog `json:"blogs"`
}

Status represents platform status and blog info.

Jump to

Keyboard shortcuts

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