demoDiyTest

package
v0.0.0-...-ad2cf94 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexController

type IndexController struct {
	Ctx          iris.Context
	ServiceADemo services.ADemoService
}

func (*IndexController) Get

func (c *IndexController) Get() mvc.Result

Get http://localhost:8080/demo/diytest

func (*IndexController) GetAgent

func (c *IndexController) GetAgent()

MobileDetect请求头USER-AGENT

func (*IndexController) GetBoom

func (c *IndexController) GetBoom()

GetBoom 返回错误页面

func (*IndexController) GetJson

func (c *IndexController) GetJson() map[string]interface{}

GetJson 返回json数据

func (*IndexController) GetJson2

func (c *IndexController) GetJson2() mvc.Result

GetJson2 返回json数据

func (*IndexController) GetQqdengji

func (c *IndexController) GetQqdengji() mvc.Result

func (*IndexController) GetYydengji

func (c *IndexController) GetYydengji() mvc.Result

Jump to

Keyboard shortcuts

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