Documentation
¶
Index ¶
- Variables
- func GetVersion() string
- func NewApiHandler(s *proto.Schema) common.HandlerFunc
- func NewAuthHandler(schema *proto.Schema) func(http.ResponseWriter, *http.Request) common.Response
- func NewFlowsHandler(s *proto.Schema) common.HandlerFunc
- func NewHttpHandler(currSchema *proto.Schema) http.Handler
- func NewRouter(s *proto.Schema) *httprouter.Router
- func NewTasksHandler(s *proto.Schema) common.HandlerFunc
- type JobHandler
- type SubscriberHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Functions ¶
func GetVersion ¶
func GetVersion() string
func NewApiHandler ¶ added in v0.372.0
func NewApiHandler(s *proto.Schema) common.HandlerFunc
NewApiHandler handles requests to the customer APIs.
func NewAuthHandler ¶ added in v0.372.0
NewAuthHandler handles requests to the authentication endpoints.
func NewFlowsHandler ¶ added in v0.413.1
func NewFlowsHandler(s *proto.Schema) common.HandlerFunc
NewFlowsHandler handles requests to the customer flows.
func NewTasksHandler ¶ added in v0.418.0
func NewTasksHandler(s *proto.Schema) common.HandlerFunc
NewTasksHandler handles requests to the tasks api.
Types ¶
type JobHandler ¶
type JobHandler struct {
// contains filtered or unexported fields
}
func NewJobHandler ¶
func NewJobHandler(currSchema *proto.Schema) JobHandler
type SubscriberHandler ¶
type SubscriberHandler struct {
// contains filtered or unexported fields
}
func NewSubscriberHandler ¶
func NewSubscriberHandler(currSchema *proto.Schema) SubscriberHandler
func (SubscriberHandler) RunSubscriber ¶
func (handler SubscriberHandler) RunSubscriber(ctx context.Context, subscriberName string, event *events.Event) error
RunSubscriber will run the subscriber function in the runtime with the event payload.
Click to show internal directories.
Click to hide internal directories.