controllers

package
v0.0.0-...-1bf86c4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const CacheOnConfKey = "app.markdown.cacheAble" // 缓存关闭设置
View Source
const CacheTimeConfKey = "app.markdown.cacheTime" // 缓存过期时间

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvController

type EnvController struct {
}

func (EnvController) Index

func (l EnvController) Index(ctx iris.Context)

type IBaseController

type IBaseController interface {
	Index(ctx iris.Context)
}

type IEnvController

type IEnvController interface {
	IBaseController
}

type ILoginController

type ILoginController interface {
	IBaseController
}

type IMarkDownController

type IMarkDownController interface {
	IBaseController
}

type IUserController

type IUserController interface {
	IBaseController
	Login(ctx iris.Context)
}

type LoginController

type LoginController struct {
}

func (LoginController) Index

func (l LoginController) Index(ctx iris.Context)

type MarkDownController

type MarkDownController struct {
}

func (MarkDownController) Index

func (m MarkDownController) Index(ctx iris.Context)

请求markdown 文件

type UserController

type UserController struct {
}

func (UserController) Index

func (u UserController) Index(ctx iris.Context)

Get /

func (UserController) Login

func (u UserController) Login(ctx iris.Context)

Post Login

Jump to

Keyboard shortcuts

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