{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v2.0.0-alpha+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package protoext\n\n## Functions\n\n```go\nfunc ResponseConfigAt(m *discovery.Response, i int) (*discovery.ConfigResult, *discovery.Error)\n```\nResponseConfigAt returns the ConfigResult at a given index in the Response, or an Error if present.\n\n```go\nfunc ResponseEndorsersAt(m *discovery.Response, i int) (*discovery.ChaincodeQueryResult, *discovery.Error)\n```\nResponseEndorsersAt returns the PeerMembershipResult at a given index in the Response, or an Error if present.\n\n```go\nfunc ResponseMembershipAt(m *discovery.Response, i int) (*discovery.PeerMembershipResult, *discovery.Error)\n```\nResponseMembershipAt returns the PeerMembershipResult at a given index in the Response, or an Error if present.\n\n```go\nfunc SignedRequestToRequest(sr *discovery.SignedRequest) (*discovery.Request, error)\n```\nSignedRequestToRequest deserializes this SignedRequest's payload and returns the serialized Request in its object form. Returns an error in case the operation fails.\n\n## Types\n\n```go\ntype QueryType uint8\n```\nQueryType defines the types of service discovery requests\n\n```go\nconst (\n\tInvalidQueryType QueryType = iota\n\tConfigQueryType\n\tPeerMembershipQueryType\n\tChaincodeQueryType\n\tLocalMembershipQueryType\n)\n```\n\n```go\nfunc GetQueryType(q *discovery.Query) QueryType\n```\nGetType returns the type of the request\n\n","path":"github.com/eric-erki/https-hyperledger.org/discovery/protoext","name":"protoext","synopsis":"","isRedistributable":true}
