interfaces

package
v0.0.0-...-c88dba0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(
	logger log.Logger,
	tp *tracesdk.TracerProvider,
	bc *conf.Bootstrap,
	greeter *application.GreeterAppService,

) *grpc.Server

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(
	logger log.Logger,
	tp *tracesdk.TracerProvider,
	bc *conf.Bootstrap,
	greeter *application.GreeterAppService,

) *http.Server

NewHTTPServer new an HTTP server.

func NewRegistrar

func NewRegistrar(conf *conf.Registry) registry.Registrar

Types

type EventHandler

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

func NewEventHandler

func NewEventHandler(
	logger log.Logger,
	bus event.EventBus,
	gretAppSvc *application.GreeterAppService,

) *EventHandler

func (*EventHandler) Initialize

func (h *EventHandler) Initialize() error

Jump to

Keyboard shortcuts

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