Documentation ¶
Index ¶
- Constants
- type APICache
- type FireProx
- func (fp *FireProx) Cleanup()
- func (fp *FireProx) CreateAPI() (string, string, error)
- func (fp *FireProx) DeleteAPI(apiID string) bool
- func (fp *FireProx) IfExistsDeleteAPI(apiID string) bool
- func (fp *FireProx) InvalidateCache(region string)
- func (fp *FireProx) ListAPIs() ([]types.RestApi, error)
- func (fp *FireProx) UpdateAPI(apiID, apiURL string) (bool, error)
- type FireProxOptions
- type RegionCache
Constants ¶
View Source
const CurrentVersion = `v0.1.6`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APICache ¶ added in v0.1.4
type APICache struct { Data map[string]RegionCache Mutex sync.Mutex }
type FireProx ¶
type FireProx struct { Options *FireProxOptions Client *apigateway.Client Cache APICache }
func (*FireProx) DeleteAPI ¶
DeleteAPI directly deletes the apiID without confirming the apiID's existence first this helps to reduce api calls that can quickly exceed the quota it returns true if successful, false if err
func (*FireProx) IfExistsDeleteAPI ¶ added in v0.1.4
IfExistsDeleteAPI ...
func (*FireProx) InvalidateCache ¶ added in v0.1.4
InvalidateCache clears the cached data for a specific region
type FireProxOptions ¶
Click to show internal directories.
Click to hide internal directories.