Documentation ¶ Index ¶ Constants func NewClient(ctx context.Context) (*gcore, error) Constants ¶ View Source const ( EnvAPIToken = "GCORE_API_TOKEN" DefaultTTL = int64(120) // gcore doesn't support shorter TTL for the free plan, so 120 is the basis to avoid confusions ) Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(ctx context.Context) (*gcore, error) Types ¶ This section is empty. Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.