rename gateway to endpoint

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2019-10-06 03:11:45 -04:00
parent 87adb7d366
commit bde4dba555
No known key found for this signature in database
GPG key ID: A519480096146526
9 changed files with 100 additions and 86 deletions

View file

@ -44,7 +44,7 @@ type Client struct {
// NewClient returns a new Atlas client configured with the specified address and options
func NewClient(id, addr string, opts ...grpc.DialOption) (*Client, error) {
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*2)
defer cancel()
if len(opts) == 0 {