controller

package
v0.0.0-...-165d932 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlogController

type BlogController struct {
	Ctx         iris.Context
	BlogService service.BlogService
	PageService service.PageService
	SiteService service.SiteService
	MenuService service.MenuService
}

BlogController

func (*BlogController) Get

func (c *BlogController) Get()

Get

@receiver c

func (*BlogController) GetBy

func (c *BlogController) GetBy(id int64)

GetBy

@receiver c
@param id

func (*BlogController) GetHot

func (c *BlogController) GetHot()

GetHot

@receiver c

func (*BlogController) GetPageBy

func (c *BlogController) GetPageBy(page int64)

GetPageBy

@receiver c
@param page

type IndexController

type IndexController struct {
	Ctx         iris.Context
	BlogService service.BlogService
	PageService service.PageService
	SiteService service.SiteService
	MenuService service.MenuService
}

IndexController

func (*IndexController) Get

func (c *IndexController) Get()

Get

@receiver c

func (*IndexController) GetByWildcard

func (c *IndexController) GetByWildcard(slug string)

GetByWildcard

@receiver c
@param slug

func (*IndexController) GetLogin

func (c *IndexController) GetLogin()

GetLogin

@receiver c

type TagController

type TagController struct {
	Ctx         iris.Context
	SiteService service.SiteService
	MenuService service.MenuService
	TagService  service.TagService
	BlogService service.BlogService
}

TagController

func (*TagController) Get

func (c *TagController) Get()

Get

@receiver c

func (*TagController) GetBy

func (c *TagController) GetBy(id int64)

GetBy

@receiver c
@param id

type UserController

type UserController struct {
	Ctx         iris.Context
	UserService service.UserService
}

UserController

func (*UserController) Get

func (c *UserController) Get()

Get

@receiver c

func (*UserController) GetBy

func (c *UserController) GetBy(id int64)

Jump to

Keyboard shortcuts

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