Documentation ¶
Index ¶
- 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) RevertLogLevels(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*ServerAdmin) SetModuleLogLevel(ctx context.Context, request *pb.LogLevelRequest) (*pb.LogLevelResponse, error)
- func (*ServerAdmin) StartServer(context.Context, *empty.Empty) (*pb.ServerStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 TODO Modify the signature so as to remove the error return - it's always been nil
func (*ServerAdmin) GetStatus ¶
func (*ServerAdmin) GetStatus(context.Context, *empty.Empty) (*pb.ServerStatus, error)
GetStatus reports the status of the server
func (*ServerAdmin) RevertLogLevels ¶
RevertLogLevels reverts the log levels for all modules to the level defined at the end of peer startup.
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
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
|
|
handlers
|
|
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. |