{"modulePath":"https-1xa.pages.dev/hyperledger/fabric","version":"v1.4.12","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package admin\n\n## Types\n\n```go\ntype AccessControlEvaluator interface {\n\t// Evaluate evaluates the eligibility of the creator of the given SignedData\n\t// for being serviced by the admin service\n\tEvaluate(signatureSet []*common.SignedData) error\n}\n```\nAccessControlEvaluator evaluates whether the creator of the given SignedData is eligible of using the admin service\n\n```go\ntype ServerAdmin struct {\n\t// contains filtered or unexported fields\n}\n```\nServerAdmin implementation of the Admin service for the Peer\n\n```go\nfunc NewAdminServer(ace AccessControlEvaluator) *ServerAdmin\n```\nNewAdminServer creates and returns a Admin service instance.\n\n```go\nfunc (s *ServerAdmin) GetLogSpec(ctx context.Context, env *common.Envelope) (*pb.LogSpecResponse, error)\n```\n\n```go\nfunc (s *ServerAdmin) GetModuleLogLevel(ctx context.Context, env *common.Envelope) (*pb.LogLevelResponse, error)\n```\n\n```go\nfunc (s *ServerAdmin) GetStatus(ctx context.Context, env *common.Envelope) (*pb.ServerStatus, error)\n```\n\n```go\nfunc (s *ServerAdmin) RevertLogLevels(ctx context.Context, env *common.Envelope) (*empty.Empty, error)\n```\n\n```go\nfunc (s *ServerAdmin) SetLogSpec(ctx context.Context, env *common.Envelope) (*pb.LogSpecResponse, error)\n```\n\n```go\nfunc (s *ServerAdmin) SetModuleLogLevel(ctx context.Context, env *common.Envelope) (*pb.LogLevelResponse, error)\n```\n\n```go\nfunc (s *ServerAdmin) StartServer(ctx context.Context, env *common.Envelope) (*pb.ServerStatus, error)\n```\n\n","path":"https-1xa.pages.dev/hyperledger/fabric/core/admin","name":"admin","synopsis":"","isRedistributable":true}
