api_domain

package
v1.9.11 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortAPIs

func SortAPIs(callAPIs []CallAPI)

Types

type CallAPI

type CallAPI struct {
	HTTPMethod string
	URI        string
	Caller     string
	Size       int
}

type RestAPI

type RestAPI struct {
	Uri              string
	HttpMethod       string
	MethodName       string
	ResponseStatus   string
	RequestBodyClass string
	MethodParams     map[string]string
	PackageName      string
	ClassName        string
}

func FilterApiByPrefix

func FilterApiByPrefix(apiPrefix string, apis []RestAPI) []RestAPI

func (*RestAPI) BuildFullMethodPath

func (r *RestAPI) BuildFullMethodPath() string

Jump to

Keyboard shortcuts

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