Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CA []byte Key []byte Crt []byte )
Functions ¶
func EventChannelHandler ¶ added in v0.38.0
func EventChannelHandler(requestsChan chan<- cloudevents.Event) http.Handler
EventChannelHandler is an http.Handler that covert received requests to cloudevent.Event and then send them to the given channel.
func StartServer ¶
func StartServer(ctx context.Context, t *testing.T, port int, handler http.Handler, receiverOptions ...kncloudevents.HTTPEventReceiverOption) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.