api_demo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	TestPort int `inject:"config, app.servers.http.port"`
}

Controller @Bean

func (*Controller) GinHandleHome

func (receiver *Controller) GinHandleHome(ctx *gin.Context)

GinHandleHome gin原始路由处理 http.Get(/api/demo)

func (*Controller) Home

func (receiver *Controller) Home(req *api.ApiDemoHomeRequest, ctx http.Context) (*api.ApiDemoHomeResponse, error)

Home

Jump to

Keyboard shortcuts

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