test

package
v0.0.0-...-2aa56cf Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Param

type Param struct {
}

type Result

type Result struct {
}

type Test1Service

type Test1Service interface {
	// +path=/paramAndRes
	// +method=post
	// +successCode=201
	GetParmAndRes(*Param) (*Result, error)
	// +path=/param
	// +method=get
	// +successCode=201
	GetParm(Param) error
	// +path=/res
	// +method=post
	// +successCode=201
	PostRes() (Result error)
}

+rest:gin +path=/test1 +extra=true

type TestService

type TestService interface {
	// +path=/paramAndRes
	// +method=post
	// +successCode=201
	GetParmAndRes(*Param) (*Result, error)
	// +path=/param
	// +method=get
	// +successCode=201
	GetParm(Param) error
	// +path=/res
	// +method=post
	// +successCode=201
	PostRes() (Result error)
}

+rest:gin +path=/test

Jump to

Keyboard shortcuts

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