Struct: endpoint-discovery.WeightedAddress
import "../ibm-cos-sdk-go-v2/service/internal/endpoint-discovery"
Overview
WeightedAddress represents an address with a given weight.
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Structure Field Summary collapse
Method Summary collapse
-
func (e WeightedAddress) HasExpired() bool
HasExpired will return whether or not the endpoint has expired with the exception of a zero expiry meaning does not expire.
Structure Field Details
Expired time.Time
URL *url.URL
Method Details
func (e WeightedAddress) HasExpired() bool
HasExpired will return whether or not the endpoint has expired with the exception of a zero expiry meaning does not expire.
24 25 26 |
// File 'service/internal/endpoint-discovery/endpoint.go', line 24
|