Documentation ¶
Index ¶
- func CacheConfiguration() error
- func SecurityEnabled() bool
- type PeerConnectionFSM
- type ServerAdmin
- func (*ServerAdmin) GetModuleLogLevel(ctx context.Context, request *pb.LogLevelRequest) (*pb.LogLevelResponse, error)
- func (*ServerAdmin) GetStatus(context.Context, *empty.Empty) (*pb.ServerStatus, error)
- func (*ServerAdmin) SetModuleLogLevel(ctx context.Context, request *pb.LogLevelRequest) (*pb.LogLevelResponse, error)
- func (*ServerAdmin) StartServer(context.Context, *empty.Empty) (*pb.ServerStatus, error)
- func (*ServerAdmin) StopServer(context.Context, *empty.Empty) (*pb.ServerStatus, error)
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 ¶
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 ¶
func (*ServerAdmin) GetStatus(context.Context, *empty.Empty) (*pb.ServerStatus, error)
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 ¶
func (*ServerAdmin) StopServer(context.Context, *empty.Empty) (*pb.ServerStatus, error)
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
|
|
crypto
|
|
mocks
|
|
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. |
Click to show internal directories.
Click to hide internal directories.