---
title: Backend
summary: Backend is a fastly backend
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/struct.Backend/
---

**Kind:** Struct  
**Module:** [fsthttp](https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/)  
**Package:** compute-sdk-go v1.11.0  
**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L68

```go
type Backend struct {
	// contains filtered or unexported fields
}
```

Backend is a fastly backend

## Methods

### BetweenBytesTimeout

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L212

```go
func (b *Backend) BetweenBytesTimeout() time.Duration
```

**Returns**

`time.Duration`

### ConnectTimeout

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L204

```go
func (b *Backend) ConnectTimeout() time.Duration
```

**Returns**

`time.Duration`

### FirstByteTimeout

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L208

```go
func (b *Backend) FirstByteTimeout() time.Duration
```

**Returns**

`time.Duration`

### Health

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L187

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

Health dynamically checks the backend's health status.

**Returns**

`(BackendHealth, error)`

### HostOverride

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L200

```go
func (b *Backend) HostOverride() string
```

**Returns**

`string`

### IsDynamic

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L196

```go
func (b *Backend) IsDynamic() bool
```

IsDynamic returns whether the backend is dynamic.

**Returns**

`bool`

### IsSSL

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L216

```go
func (b *Backend) IsSSL() bool
```

**Returns**

`bool`

### Name

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L177

```go
func (b *Backend) Name() string
```

Name returns the name associated with this backend.

**Returns**

`string`

### SSLMaxVersion

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L220

```go
func (b *Backend) SSLMaxVersion() TLSVersion
```

**Returns**

`TLSVersion`

### SSLMinVersion

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L224

```go
func (b *Backend) SSLMinVersion() TLSVersion
```

**Returns**

`TLSVersion`

### Target

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/backend.go#L182

```go
func (b *Backend) Target() string
```

Target returns the target associated with this backend.

**Returns**

`string`
