rename gateway to endpoint
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
87adb7d366
commit
bde4dba555
9 changed files with 100 additions and 86 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue