handlers

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublishEventHistogram = "time_taken_to_publish_event"
	ConsumeEventSummary   = "time_taken_to_consume_event"
)

Variables

This section is empty.

Functions

func Consumer

func Consumer(ctx *gofr.Context) (interface{}, error)

func ConsumerWithCommit

func ConsumerWithCommit(ctx *gofr.Context) (interface{}, error)

func Producer

func Producer(ctx *gofr.Context) (interface{}, error)

Types

type Person

type Person struct {
	ID    string `avro:"Id"`
	Name  string `avro:"Name"`
	Email string `avro:"Email"`
}

Jump to

Keyboard shortcuts

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