Documentation
¶
Index ¶
- Constants
- func ReadAPI(credentials connection.ConnectionCredentials, connector connection.Connector, ...) (*tykcommon.APIDefinition, http.Response, error)
- func ReloadGatewayGroup(credentials connection.ConnectionCredentials, connector connection.Connector) (interface{}, http.Response, error)
- func SelectAPIs(credentials connection.ConnectionCredentials, connector connection.Connector) (*[]struct{ tykcommon.APIDefinition }, http.Response, error)
- func SelectKeys(credentials connection.ConnectionCredentials, connector connection.Connector, ...) (*definition.APIAllKeys, http.Response, error)
- func UpdateAPI(credentials connection.ConnectionCredentials, connector connection.Connector, ...) (*tykcommon.APIDefinition, http.Response, error)
Constants ¶
View Source
const ( API_DEFINITION_SELECT_URI = "/tyk/apis/" API_DEFINITION_READ_URI = "/tyk/apis/%s" API_DEFINITION_UPDATE_URI = "/tyk/apis/%s" GATEWAY_RELOAD_GROUP_URI = "/tyk/reload/group" )
Variables ¶
This section is empty.
Functions ¶
func ReadAPI ¶
func ReadAPI(credentials connection.ConnectionCredentials, connector connection.Connector, apiID string) (*tykcommon.APIDefinition, http.Response, error)
func ReloadGatewayGroup ¶
func ReloadGatewayGroup(credentials connection.ConnectionCredentials, connector connection.Connector) (interface{}, http.Response, error)
func SelectAPIs ¶
func SelectAPIs(credentials connection.ConnectionCredentials, connector connection.Connector) (*[]struct{ tykcommon.APIDefinition }, http.Response, error)
func SelectKeys ¶
func SelectKeys(credentials connection.ConnectionCredentials, connector connection.Connector, apiID string) (*definition.APIAllKeys, http.Response, error)
func UpdateAPI ¶
func UpdateAPI(credentials connection.ConnectionCredentials, connector connection.Connector, apiID string, apiDefinition *string) (*tykcommon.APIDefinition, http.Response, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.