Skip to content
Snippets Groups Projects
Commit 0ba8accb authored by Josh Brooks's avatar Josh Brooks
Browse files

Specify what's returned in DownloadNdfFromGateway docstring

parent f4b33116
No related branches found
No related tags found
2 merge requests!510Release,!297Add GetNDF for gateways to the API
......@@ -26,6 +26,8 @@ import (
// DownloadNdfFromGateway will download an NDF from a gateway on the cMix network.
// It will take the given address and certificate and send a request to a gateway
// for an NDF over HTTP/2 using the xx network's gRPC implementation.
// This returns a gRPC protobuf message which contains the NDF in the
// PartialNDF field of the pb.GatewayPollResponse.
func DownloadNdfFromGateway(address string, cert []byte) (
*pb.GatewayPollResponse, error) {
// Establish parameters for gRPC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment