Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler contains the API handlers
func NewHandler ¶
func NewHandler(f *facilitator.Facilitator) *Handler
NewHandler creates a new API handler
func (*Handler) GetSupported ¶
GetSupported handles the /facilitator/supported endpoint
func (*Handler) RegisterRoutes ¶
RegisterRoutes registers all API routes
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the HTTP server
func NewServer ¶
func NewServer(cfg *config.Config, f *facilitator.Facilitator) *Server
NewServer creates a new HTTP server
Click to show internal directories.
Click to hide internal directories.