exas

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App added in v0.2.0

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

App of package

func New added in v0.2.0

func New(config Config, geocodeApp geocode.App, prometheusRegisterer prometheus.Registerer, amqpClient *amqp.Client, storageApp absto.Storage, tracer trace.Tracer) App

New creates new App from Config

func (App) AmqpHandler added in v0.2.0

func (a App) AmqpHandler(ctx context.Context, message amqp.Delivery) (err error)

AmqpHandler for amqp request

func (App) Handler added in v0.2.0

func (a App) Handler() http.Handler

Handler for request. Should be use with net/http

type Config added in v0.2.0

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

Config of package

func Flags added in v0.2.0

func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) Config

Flags adds flags for configuring package

Jump to

Keyboard shortcuts

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