example

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinFunRequest added in v1.1.0

type GinFunRequest struct {
	mux.Meta `path:"/example/gin-fun" method:"GET"`
}

GinFunRequest gin function

type GinFunResponse added in v1.1.0

type GinFunResponse struct {
}

GinFunResponse gin function

type LoginRequest

type LoginRequest struct {
	mux.Meta `path:"/example" method:"POST"`
}

LoginRequest 需要登录的接口

type LoginResponse

type LoginResponse struct {
	Username string `json:"username"`
}

LoginResponse 需要登录的接口

type PingRequest

type PingRequest struct {
	mux.Meta `path:"/example/ping" method:"GET"`
}

PingRequest ping

type PingResponse

type PingResponse struct {
	Pong string `json:"pong"`
}

PingResponse ping

Jump to

Keyboard shortcuts

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