rest

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: Apache-2.0 Imports: 27 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 RESTGateway

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

RESTGateway as the HTTP gateway interface for fabconnect

func NewRESTGateway

func NewRESTGateway(config *conf.RESTGatewayConf) *RESTGateway

NewRESTGateway constructor

func (*RESTGateway) Init

func (g *RESTGateway) Init() error

func (*RESTGateway) Shutdown

func (g *RESTGateway) Shutdown()

func (*RESTGateway) Start

func (g *RESTGateway) Start() error

Start kicks off the HTTP listener and router

func (*RESTGateway) ValidateConf

func (g *RESTGateway) ValidateConf() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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