Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Functions ¶
func GetVersion ¶
func GetVersion() string
func NewHandler ¶
func NewHandler(s *proto.Schema) common.ApiHandlerFunc
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.