Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SensuToken ¶
type SensuToken struct { AccessToken string `json:"access_token,omitempty"` ExpiresAt string `json:"expires_at,omitempty"` RefreshToken string `json:"refresh_token,omitempty"` }
SensuToken struct
func BasicAuth ¶
func BasicAuth() (*SensuToken, error)
BasicAuth func go to sensu api and get a new token
Click to show internal directories.
Click to hide internal directories.