example

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 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 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