Versions in this module Expand all Collapse all v0 v0.8.2 Jun 11, 2019 Changes in this version + func HandleVks(log *logging.Logger, vks []*coconut.VerificationKey, ...) ([]*coconut.VerificationKey, *coconut.PolynomialPoints, error) + func LogAndReturnError(log *logging.Logger, fmtString string, a ...interface{}) error + func ParseVerificationKeyResponses(responses []*ServerResponse, isThreshold bool, log *logging.Logger) ([]*coconut.VerificationKey, *coconut.PolynomialPoints) + func ReadPacketFromConn(conn net.Conn) (*packet.Packet, error) + func ResolveServerRequest(cmd commands.Command, resCh chan *commands.Response, log *logging.Logger, ...) proto.Message + func SendServerRequests(ctx context.Context, responseCh chan<- *ServerResponse, maxReqs int, ...) chan<- *ServerRequest + func ValidateIDs(log *logging.Logger, pp *coconut.PolynomialPoints, isThreshold bool) (map[int]bool, error) + func WaitForServerResponses(ctx context.Context, responseCh <-chan *ServerResponse, ...) + type RequestParams struct + ConnectionTimeout time.Duration + MarshaledPacket []byte + MaxRequests int + ServerAddresses []string + type ServerMetadata struct + Address string + type ServerRequest struct + MarshaledData []byte + ServerMetadata *ServerMetadata + type ServerRequestGrpc struct + Message proto.Message + ServerMetadata *ServerMetadata + type ServerResponse struct + MarshaledData []byte + ServerMetadata *ServerMetadata + func GetServerResponses(ctx context.Context, requestParams *RequestParams, log *logging.Logger) []*ServerResponse + type ServerResponseGrpc struct + Message proto.Message + ServerMetadata *ServerMetadata