Backend

Structin fsthttpcompute-sdk-go v1.11.0View source
type Backend struct {
// contains filtered or unexported fields
}

Backend is a fastly backend

Methods

BetweenBytesTimeout

View source
func (b *Backend) BetweenBytesTimeout() time.Duration

Returns

ConnectTimeout

View source
func (b *Backend) ConnectTimeout() time.Duration

Returns

FirstByteTimeout

View source
func (b *Backend) FirstByteTimeout() time.Duration

Returns

func (b *Backend) Health() (BackendHealth, error)

Health dynamically checks the backend's health status.

Returns

(BackendHealth, error)

HostOverride

View source
func (b *Backend) HostOverride() string

Returns

string

IsDynamic

View source
func (b *Backend) IsDynamic() bool

IsDynamic returns whether the backend is dynamic.

Returns

bool
func (b *Backend) IsSSL() bool

Returns

bool
func (b *Backend) Name() string

Name returns the name associated with this backend.

Returns

string

SSLMaxVersion

View source
func (b *Backend) SSLMaxVersion() TLSVersion

Returns

SSLMinVersion

View source
func (b *Backend) SSLMinVersion() TLSVersion

Returns

func (b *Backend) Target() string

Target returns the target associated with this backend.

Returns

string