core

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheConfiguration

func CacheConfiguration() error

CacheConfiguration caches configuration settings so that reading the yaml file can be avoided on future requests

func SecurityEnabled

func SecurityEnabled() bool

SecurityEnabled returns true if security is enabled

Types

type PeerConnectionFSM

type PeerConnectionFSM struct {
	To  string
	FSM *fsm.FSM
}

PeerConnectionFSM example FSM for demonstration purposes.

func NewPeerConnectionFSM

func NewPeerConnectionFSM(to string) *PeerConnectionFSM

NewPeerConnectionFSM creates and returns a PeerConnectionFSM

type ServerAdmin

type ServerAdmin struct {
}

ServerAdmin implementation of the Admin service for the Peer

func NewAdminServer

func NewAdminServer() *ServerAdmin

NewAdminServer creates and returns a Admin service instance.

func (*ServerAdmin) GetModuleLogLevel

func (*ServerAdmin) GetModuleLogLevel(ctx context.Context, request *pb.LogLevelRequest) (*pb.LogLevelResponse, error)

GetModuleLogLevel gets the current logging level for the specified module

func (*ServerAdmin) GetStatus

GetStatus reports the status of the server

func (*ServerAdmin) SetModuleLogLevel

func (*ServerAdmin) SetModuleLogLevel(ctx context.Context, request *pb.LogLevelRequest) (*pb.LogLevelResponse, error)

SetModuleLogLevel sets the logging level for the specified module

func (*ServerAdmin) StartServer

func (*ServerAdmin) StartServer(context.Context, *empty.Empty) (*pb.ServerStatus, error)

StartServer starts the server

func (*ServerAdmin) StopServer

StopServer stops the server

Directories

Path Synopsis
shim
Package shim provides APIs for the chaincode to access its state variables, transaction context and call other chaincodes.
Package shim provides APIs for the chaincode to access its state variables, transaction context and call other chaincodes.
common
api
crypto
mocks
scc
cscc
Package cscc chaincode configer provides functions to manage configuration transactions as the network is being reconfigured.
Package cscc chaincode configer provides functions to manage configuration transactions as the network is being reconfigured.

Jump to

Keyboard shortcuts

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