protos

package
v0.74.1-validators-tes... Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Bindings

type Bindings struct {
	HTTP Rules `yaml:"http"`
}

func CoreBindings

func CoreBindings() (*Bindings, error)

func DataNodeBindings

func DataNodeBindings() (*Bindings, error)

func (*Bindings) HasRoute

func (b *Bindings) HasRoute(method, path string) bool

type Rule

type Rule struct {
	Selector string  `yaml:"selector"`
	Post     *string `yaml:"post"`
	Get      *string `yaml:"get"`
	Body     *string `yaml:"body"`
}

type Rules

type Rules struct {
	Rules []Rule `yaml:"rules"`
}

Directories

Path Synopsis
blockexplorer
api/v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.
data-node
api/v2
Package v2 is a reverse proxy.
Package v2 is a reverse proxy.
api/v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.

Jump to

Keyboard shortcuts

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