Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EventTypes = []string{"get", "put", "post", "delete", "patch", "head"}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
EventSourceID apieventsrc.EventSourceID `envconfig:"EVENT_SOURCE_ID" default:"internal.http" json:"event_source_id"`
}
type HTTPEventSource ¶
type HTTPEventSource struct { Config Config Events *events.Events EventSources eventsrcsstore.Store Prefix string L L.Nullable }
func (*HTTPEventSource) Add ¶
func (s *HTTPEventSource) Add( ctx context.Context, pid apiproject.ProjectID, name string, routes []*pb.Route, ) error
func (*HTTPEventSource) Remove ¶
func (s *HTTPEventSource) Remove( ctx context.Context, pid apiproject.ProjectID, name string, ) error
Click to show internal directories.
Click to hide internal directories.