Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Fetcher ¶
type Fetcher interface {
Fetch(req *http.Request) ([]byte, error)
GetUpdatedTokens() (string, string)
}
func NewBaseFetcher ¶
func NewBaseFetcher(tokenRefresher TokenRefresher, refreshToken string) Fetcher
type GetResourcesResponse ¶
type GetResourcesResponse struct {
Pagination Pagination `json:"pagination,omitempty"`
Resources []interface{} `json:"resources,omitempty"`
}
type Pagination ¶
type TokenRefresher ¶
func NewTokenRefresher ¶
func NewTokenRefresher(uaaEndpoint string) TokenRefresher
Source Files
¶
Click to show internal directories.
Click to hide internal directories.