proto

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthOption

func GetAuthOption(opt *common.APIAuth, fn func(opts map[string]interface{}) map[string]interface{}) func(r *http.Request) auth.Options

GetAuthOption .

func RangeOpenAPIs

func RangeOpenAPIs(pkgPrefix string, handler OneOpenAPIHandler) (err error)

RangeOpenAPIs .

func RangeOpenAPIsProxy

func RangeOpenAPIsProxy(proxyHandler OneOpenAPIProxyHandler) error

RangeOpenAPIsProxy .

Types

type OneOpenAPIHandler

type OneOpenAPIHandler = func(serviceName, method, backendPath string, opt *common.OpenAPIOption) error

type OneOpenAPIProxyHandler

type OneOpenAPIProxyHandler = func(method, publishPath, backendPath, serviceName string, opt *common.OpenAPIOption) error

Jump to

Keyboard shortcuts

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