Documentation ¶
Index ¶
- type APIData
- type APIHandler
- type CreateNewAPIHandler
- type CreateRateLimitPlanHandler
- type CreateUserHandler
- type DashboardAPI
- type DashboardData
- type DashboardHandler
- type ExportAPIHandler
- type NewAPIData
- type NewApiHandler
- type NewRLPlanData
- type NewRLPlanOperation
- type NewRateLimitPlanHandler
- type NewUserAPIInfo
- type NewUserData
- type NewUserHandler
- type NewUserPlanInfo
- type Operation
- type Plan
- type PlanData
- type PlanHandler
- type PlanOperation
- type ServiceDiscoveryHandler
- type UpdateUnAuthRateLimitHandler
- type UserAPIInfo
- type UserData
- type UserHandler
- type UsersHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIData ¶
type APIData struct { Name string ServiceName string Description string PublicDomain string PathMatchType string Operations []Operation Plans []Plan RateLimitOperations []*PlanOperation UnAuthGlobalDaily string UnAuthGlobalMonthly string UnAuthGlobalYearly string UnAuthRemoteIPDaily string UnAuthRemoteIPMonthly string UnAuthRemoteIPYearly string }
type APIHandler ¶
func (*APIHandler) ServeHTTP ¶
func (a *APIHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type CreateNewAPIHandler ¶
func (*CreateNewAPIHandler) ServeHTTP ¶
func (a *CreateNewAPIHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type CreateRateLimitPlanHandler ¶
func (*CreateRateLimitPlanHandler) ServeHTTP ¶
func (a *CreateRateLimitPlanHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type CreateUserHandler ¶
func (*CreateUserHandler) ServeHTTP ¶
func (a *CreateUserHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type DashboardAPI ¶
type DashboardData ¶
type DashboardData struct {
APIs []*DashboardAPI
}
type DashboardHandler ¶
func (*DashboardHandler) ServeHTTP ¶
func (a *DashboardHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ExportAPIHandler ¶
func (*ExportAPIHandler) ServeHTTP ¶
func (a *ExportAPIHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type NewAPIData ¶
type NewApiHandler ¶
func (*NewApiHandler) ServeHTTP ¶
func (a *NewApiHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type NewRLPlanData ¶
type NewRLPlanData struct { APIName string APIDomain string AuthOperations []NewRLPlanOperation UnAuthOperations []NewRLPlanOperation }
type NewRLPlanOperation ¶
type NewRateLimitPlanHandler ¶
func (*NewRateLimitPlanHandler) ServeHTTP ¶
func (a *NewRateLimitPlanHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type NewUserAPIInfo ¶
type NewUserAPIInfo struct { APIName string Plans []*NewUserPlanInfo }
type NewUserData ¶
type NewUserData struct {
APIs []*NewUserAPIInfo
}
type NewUserHandler ¶
func (*NewUserHandler) ServeHTTP ¶
func (a *NewUserHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type NewUserPlanInfo ¶
type NewUserPlanInfo struct {
Name string
}
type PlanHandler ¶
func (*PlanHandler) ServeHTTP ¶
func (a *PlanHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PlanOperation ¶
type ServiceDiscoveryHandler ¶
func (*ServiceDiscoveryHandler) ServeHTTP ¶
func (a *ServiceDiscoveryHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type UpdateUnAuthRateLimitHandler ¶
func (*UpdateUnAuthRateLimitHandler) ServeHTTP ¶
func (a *UpdateUnAuthRateLimitHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type UserAPIInfo ¶
type UserData ¶
type UserData struct { APIs []*UserAPIInfo Name string ID string }
type UserHandler ¶
func (*UserHandler) ServeHTTP ¶
func (a *UserHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type UsersHandler ¶
func (*UsersHandler) ServeHTTP ¶
func (a *UsersHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.