api

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CApi

type CApi struct {
	Ctx   iris.Context
	Svc   service.Service
	Pager *model.Pager
}

func (*CApi) GetHello

func (c *CApi) GetHello()

Hello godoc @Description Hello @Tags Hello @Accept json @Produce json @Param page query int true "页码" @Param pagesize query int true "页码尺寸" @Success 200 {object} model.User @Failure 500 {object} model.JSON @Router /hello [get]

Jump to

Keyboard shortcuts

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