Skip to content

Commit

Permalink
Update comments for clienthttprequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Greenleaf committed Aug 24, 2018
1 parent d6a9f75 commit 4d1c19b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions runtime/client_http_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ import (
"go.uber.org/zap"
)

// ClientHTTPRequest is the struct for making client
// requests using an outbound http client.
// ClientHTTPRequest is the struct for making a single client request using an outbound http client.
type ClientHTTPRequest struct {
ClientID string
MethodName string
Expand All @@ -51,7 +50,7 @@ type ClientHTTPRequest struct {
ctx context.Context
}

// NewClientHTTPRequest allocates a ClientHTTPRequest
// NewClientHTTPRequest allocates a ClientHTTPRequest. The ctx parameter is the context associated with the outbound requests.
func NewClientHTTPRequest(
ctx context.Context,
clientID, methodName string,
Expand Down

0 comments on commit 4d1c19b

Please sign in to comment.