routes

package
v1.3.0-rc.0...-0a48220 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIProxy

type APIProxy struct {
	Method      string          `json:"method"`
	Path        string          `json:"path"`
	ServiceURL  string          `json:"service_url"`
	BackendPath string          `json:"backend_path"`
	Auth        *common.APIAuth `json:"auth"`
}

APIProxy .

func (*APIProxy) Get

func (a *APIProxy) Get(key string) any

func (*APIProxy) Validate

func (a *APIProxy) Validate() error

Validate .

type Register

type Register interface {
	Register(route *APIProxy) error
}

Directories

Path Synopsis
dynamic

Jump to

Keyboard shortcuts

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