server

package
v0.0.1-beta3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockchainAPIServer

type BlockchainAPIServer struct {
	BlockchainServerOpts
	// contains filtered or unexported fields
}

func (*BlockchainAPIServer) Run

func (a *BlockchainAPIServer) Run()

type BlockchainServerOpts

type BlockchainServerOpts struct {
	Address              string
	MetricsAddress       string
	DCS                  map[string]*appconfig.DCClient
	FabricSDK            *fabsdk.FabricSDK
	ChannelManagerConfig appconfig.HLFChannelManagerConfig
}

type MetricsRegistry

type MetricsRegistry interface {
	IncGraphqlRequest(statusCode int)
	ObserveGraphqlMutation(duration time.Duration)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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