listener

package
v0.0.0-...-f65cdbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEventUnknown = fmt.Errorf("event unknown")

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func (Controller) Close

func (c Controller) Close() error

func (Controller) ConfigureRoutes

func (c Controller) ConfigureRoutes(_ context.Context, r *mux.Router) error

func (Controller) Get

func (c Controller) Get(writer http.ResponseWriter, _ *http.Request)

func (Controller) Post

func (c Controller) Post(writer http.ResponseWriter, request *http.Request)

type EventDefCache

type EventDefCache struct {
	// contains filtered or unexported fields
}

func (*EventDefCache) Get

func (j *EventDefCache) Get(ctx context.Context, tenant string, eventID string) (*EventEntry, error)

type EventEntry

type EventEntry struct {
	EventDef *pb.EventDef
	Schema   *jsonschema.Schema
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL