Documentation ¶
Overview ¶
client file in package common holds the client interface and service struct used by each service that the client is connecting with services using the Service struct are located under pkg/api
Index ¶
Constants ¶
View Source
const (
DEFAULT_BASE_URL = "https://api.stackit.cloud/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Do(req *http.Request) (*http.Response, error) GetEnvironment() Environment }
Client is the client interface
type Environment ¶ added in v1.12.1
type Environment string
const ( ENV_PROD Environment = "prod" ENV_QA Environment = "qa" ENV_DEV Environment = "dev" )
Click to show internal directories.
Click to hide internal directories.