vars

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	ProtoRequestBody ProtoRequestBody
	HTTPRequestBody  HTTPRequestBody
	HTTPResponseBody HTTPResponseBody

	IsStreamClient   bool // is stream client
	IsStreamServer   bool // is stream server
	ProtoServiceName string
	FuncName         string
	Comments         string
	HTTPMethod       string
	URL              string
	PathParams       []*PathParam
	QueryParams      []*QueryParam

	IsSpecified bool
}

type HTTPRequestBody

type HTTPRequestBody struct {
	BodyName   string // * or others
	GoBodyName string
}

type HTTPResponseBody

type HTTPResponseBody struct {
	Name         string
	GoImportPath string
	RootPath     string
}

type PathParam

type PathParam struct {
	Index  int
	Name   string
	GoName string
}

type ProtoRequestBody

type ProtoRequestBody struct {
	Name         string
	GoImportPath string // github.com/autosdk/pb/corev1
	RootPath     string // corev1
}

type QueryParam

type QueryParam struct {
	GoName string
	Name   string
}

type Resource

type Resource string

type Scope

type Scope string

type ScopeResourceGateway

type ScopeResourceGateway map[Scope]map[Resource][]*Gateway

type ServiceGateway

type ServiceGateway map[Resource][]*Gateway

Jump to

Keyboard shortcuts

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