apiserver

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsEnabled = "enabled"
	MetricsPath    = "path"
)

Variables

This section is empty.

Functions

func InitConfig

func InitConfig()

Types

type ContractListenerInput added in v1.1.0

type ContractListenerInput struct {
	Name    string                        `ffstruct:"ContractListener" json:"name,omitempty"`
	Topic   string                        `ffstruct:"ContractListener" json:"topic,omitempty"`
	Options *core.ContractListenerOptions `ffstruct:"ContractListener" json:"options,omitempty"`
}

type ContractListenerInputWithLocation added in v1.1.0

type ContractListenerInputWithLocation struct {
	ContractListenerInput
	Location *fftypes.JSONAny `ffstruct:"ContractListener" json:"location,omitempty"`
}

type FFISwaggerGen added in v1.1.0

type FFISwaggerGen interface {
	Generate(ctx context.Context, baseURL string, api *core.ContractAPI, ffi *fftypes.FFI) *openapi3.T
}

func NewFFISwaggerGen added in v1.1.0

func NewFFISwaggerGen() FFISwaggerGen

type Server

type Server interface {
	Serve(ctx context.Context, mgr namespace.Manager) error
}

Server is the external interface for the API Server

func NewAPIServer

func NewAPIServer() Server

Source Files

Jump to

Keyboard shortcuts

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