Skip to content

Commit

Permalink
Merge pull request #26 from shutterbug2000/station-url-change
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow authored May 20, 2023
2 parents 41568c0 + 6590659 commit e4f0287
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Client struct {
sequenceIDIn *Counter
sequenceIDOut *Counter
pid uint32
localStationURL string
stationURLs []string
connectionID uint32
pingCheckTimer *time.Timer
pingKickTimer *time.Timer
Expand Down Expand Up @@ -164,13 +164,13 @@ func (client *Client) PID() uint32 {
}

// SetLocalStationURL sets the clients Local Station URL
func (client *Client) SetLocalStationURL(localStationURL string) {
client.localStationURL = localStationURL
func (client *Client) SetStationURLs(stationURLs []string) {
client.stationURLs = stationURLs
}

// LocalStationURL returns the clients Local Station URL
func (client *Client) LocalStationURL() string {
return client.localStationURL
func (client *Client) StationURLs() []string {
return client.stationURLs
}

// SetConnectionID sets the clients Connection ID
Expand Down

0 comments on commit e4f0287

Please sign in to comment.