// NewTransport returns a new AccessRountTripper set to use the given
// token and parent round-tripper.
NewTransport returns a new AccessRountTripper set to use the given
token and parent round-tripper.
// NewTransport returns a new AccessRountTripper set to use the given // token and parent round - tripper .
func NewTransport(token Token, rt http.RoundTripper) *Transport {
	if rt == nil {
		rt = http.DefaultTransport
	}
	return &Transport{
		authToken: token,
		parent:    rt,
	}
}
func NewTransport ( token Token , rt http . RoundTripper ) * Transport { if rt == nil { rt = http . DefaultTransport } return & Transport { authToken : token , parent : rt , } }
NewTransport returns a new AccessRountTripper set to use the given
token and parent round-tripper.
NewTransport returns a new AccessRountTripper set to use the given token and parent round - tripper .