Documentation
¶
Index ¶
- func AvroCloudEventReceived(ctx context.Context, event cloudevents.Event)
- func CloudEventReceived(ctx context.Context, event cloudevents.Event)
- func ErrorHandler(w http.ResponseWriter, r *http.Request, err error, code int)
- func InitHandlers()
- func RootHandler(w http.ResponseWriter, r *http.Request)
- func WSHandler(ws *websocket.Conn)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvroCloudEventReceived ¶
func AvroCloudEventReceived(ctx context.Context, event cloudevents.Event)
AvroCloudEventReceived handles the cloud event post
func CloudEventReceived ¶
func CloudEventReceived(ctx context.Context, event cloudevents.Event)
CloudEventReceived handles the cloud event post
func ErrorHandler ¶
ErrorHandler handles all app errors
func RootHandler ¶
func RootHandler(w http.ResponseWriter, r *http.Request)
RootHandler handles view page
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.