rest

package
v0.9.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// MaxHeaderSize max size of content
	MaxHeaderSize = 16 * 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway added in v0.9.18

type Gateway struct {
	// contains filtered or unexported fields
}

Gateway as the HTTP gateway interface for fabconnect

func NewRESTGateway

func NewRESTGateway(config *conf.RESTGatewayConf) *Gateway

NewRESTGateway constructor

func (*Gateway) Init added in v0.9.18

func (g *Gateway) Init() error

func (*Gateway) Shutdown added in v0.9.18

func (g *Gateway) Shutdown()

func (*Gateway) Start added in v0.9.18

func (g *Gateway) Start() error

Start kicks off the HTTP listener and router

func (*Gateway) ValidateConf added in v0.9.18

func (g *Gateway) ValidateConf() error

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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