Documentation ¶
Overview ¶
Package Classification Member Server API.
Schemes: http, https Version: 0.0.1 License: MIT http://opensource.org/licenses/MIT SecurityDefinitions: bearerAuth: type: apiKey in: header name: Authorization description: Enter your bearer token basicAuth: type: basic in: header name: Authorization description: Enter your basic auth credentials
swagger:meta
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHTTPHandler ¶
type AuthHTTPHandler interface { RegisterUser(w http.ResponseWriter, r *http.Request) Login(w http.ResponseWriter, r *http.Request) Logout(w http.ResponseWriter, r *http.Request) }
type MemberHTTPHandler ¶
type MemberHTTPHandler interface { MemberEmailHandler(w http.ResponseWriter, r *http.Request) GetMembersHandler(w http.ResponseWriter, r *http.Request) UpdateMemberByEmailHandler(w http.ResponseWriter, r *http.Request) GetByEmailHandler(w http.ResponseWriter, r *http.Request) GetCurrentUserHandler(w http.ResponseWriter, r *http.Request) AssignRFIDHandler(w http.ResponseWriter, r *http.Request) AssignRFIDSelfHandler(w http.ResponseWriter, r *http.Request) GetTiersHandler(w http.ResponseWriter, r *http.Request) GetNonMembersOnSlackHandler(w http.ResponseWriter, r *http.Request) AddNewMemberHandler(w http.ResponseWriter, r *http.Request) CheckStatus(w http.ResponseWriter, r *http.Request) }
type PaymentsHTTPHandler ¶
type PaymentsHTTPHandler interface {
PaypalSubscriptionWebHookHandler(err error, n *listener.Subscription)
}
type ReportsHTTPHandler ¶
type ReportsHTTPHandler interface { GetMemberCountsCharts(http.ResponseWriter, *http.Request) GetAccessStatsChart(http.ResponseWriter, *http.Request) GetMemberChurn(http.ResponseWriter, *http.Request) }
type ResourceHTTPHandler ¶
type ResourceHTTPHandler interface { Resource(w http.ResponseWriter, req *http.Request) AddMultipleMembersToResource(w http.ResponseWriter, req *http.Request) RemoveMember(w http.ResponseWriter, req *http.Request) Register(w http.ResponseWriter, req *http.Request) Status(w http.ResponseWriter, req *http.Request) UpdateResourceACL(w http.ResponseWriter, req *http.Request) Open(w http.ResponseWriter, req *http.Request) DeleteResourceACL(w http.ResponseWriter, req *http.Request) }
type Router ¶
func (*Router) RegisterRoutes ¶
func (r *Router) RegisterRoutes(auth *auth.AuthController) *mux.Router
type UserHTTPHandler ¶
type UserHTTPHandler interface {
GetUser(w http.ResponseWriter, r *http.Request)
}
type VersionHTTPHandler ¶
type VersionHTTPHandler interface {
ServeHTTP(http.ResponseWriter, *http.Request)
}
Click to show internal directories.
Click to hide internal directories.