Skip to content

Commit

Permalink
remove unused ServerOptionsInput struct
Browse files Browse the repository at this point in the history
  • Loading branch information
asobrien committed Jan 21, 2020
1 parent 8703c04 commit e088bc5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions fastly/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ func (s serversByAddress) Less(i, j int) bool {
return s[i].Address < s[j].Address
}

// ServerOptionsInput is used to define the optional fields for a server. It is
// used as part of create and update server operations.
type ServerOptionsInput struct {
Comment string `form:"comment,omitempty"`
Weight uint `form:"weight,omitempty"`
MaxConn uint `form:"max_conn,omitempty"`
Port uint `form:"port,omitempty"`
Disabled bool `form:"disabled,omitempty"`
OverrideHost string `form:"override_host,omitempty"`
}

// ListServersInput is used as input to the ListServers function.
type ListServersInput struct {
// Service is the ID of the service (required).
Expand Down

0 comments on commit e088bc5

Please sign in to comment.