{"modulePath":"github.com/mcc-github/blockchain","version":"v0.0.0-20190916220231-95b87edfbee2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package accesscontrol\n\n## Types\n\n```go\ntype Authenticator struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewAuthenticator(ca tlsgen.CA) *Authenticator\n```\n\n```go\nfunc (ac *Authenticator) Generate(ccName string) (*CertAndPrivKeyPair, error)\n```\n\n```go\nfunc (auth *Authenticator) Wrap(srv pb.ChaincodeSupportServer) pb.ChaincodeSupportServer\n```\n\n```go\ntype CertAndPrivKeyPair struct {\n\tCert []byte\n\n\tKey []byte\n}\n```\n\n```go\ntype ChaincodeStream interface {\n\tSend(*pb.ChaincodeMessage) error\n\n\tRecv() (*pb.ChaincodeMessage, error)\n}\n```\n\n```go\ntype KeyGenFunc func() (*tlsgen.CertKeyPair, error)\n```\n\n","path":"github.com/mcc-github/blockchain/core/chaincode/accesscontrol","name":"accesscontrol","synopsis":"","isRedistributable":true}
