apiserver

package
v1.3.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 33 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 {
	Build(ctx context.Context, api *core.ContractAPI, ffi *fftypes.FFI) (*ffapi.SwaggerGenOptions, []*ffapi.Route)
}

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