Skip to content

Commit

Permalink
add default port
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reid committed Sep 12, 2017
1 parent 823afe4 commit 7ac25ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ var (
// ErrInvalidVersion is returned when a versioned client was requested but no version specified.
ErrInvalidVersion = errors.New("invalid version")

// DefaultPort is the default API port
DefaultPort = "5705"

// DefaultHost is the default API host
DefaultHost = "tcp://localhost:5705"
DefaultHost = "tcp://localhost:" + DefaultPort
)

// APIVersion is an internal representation of a version of the Remote API.
Expand Down

0 comments on commit 7ac25ef

Please sign in to comment.