Documentation
¶
Index ¶
- Constants
- func GetAPIURL(baseURL string) (string, error)
- func GetAppURL(baseURL string) (string, error)
- func GetLoginURL(baseURL string) (string, error)
- func IsPersonalToken(token string) bool
- func New(ctx context.Context, baseURL, accessToken, orgID, edgeURL, edgeRegion string, ...) (*axiom.Client, error)
Constants ¶
View Source
const ( BaseURL = "https://axiom.co" AppURL = "https://app.axiom.co" APIURL = "https://api.axiom.co" LoginURL = "https://login.axiom.co" )
URLs of the hosted Axiom deployment.
Variables ¶
This section is empty.
Functions ¶
func GetLoginURL ¶ added in v0.9.0
GetLoginURL returns the login URL for the given deployment URL.
func IsPersonalToken ¶ added in v0.2.0
IsPersonalToken returns true if the given token is a personal token.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth implements the authentication flow to login to Axiom by visiting a URL.
|
Package auth implements the authentication flow to login to Axiom by visiting a URL. |
|
assets
Package assets contains assets for the auth package.
|
Package assets contains assets for the auth package. |
Click to show internal directories.
Click to hide internal directories.