AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Endpoint

import "github.com/aws/aws-sdk-go/service/elasticache"

type Endpoint struct { Address *string `type:"string"` Port *int64 `type:"integer"` }

Represents the information required for client programs to connect to a cache node.

Address

Type: *string

The DNS hostname of the cache node.

Port

Type: *int64

The port number that the cache engine is listening on.

Method

GoString

func (s Endpoint) GoString() string

GoString returns the string representation

SetAddress

func (s *Endpoint) SetAddress(v string) *Endpoint

SetAddress sets the Address field's value.

SetPort

func (s *Endpoint) SetPort(v int64) *Endpoint

SetPort sets the Port field's value.

String

func (s Endpoint) String() string

String returns the string representation

On this page: