snacker

package
v0.0.0-...-5dae249 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: Unlicense Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPGateway

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

func NewHTTP

func NewHTTP(snackerSvc *SnackerSvc, restaurantCommandSvc *restaurant.CommandService, restaurantQuerySvc *restaurant.QueryService, stockSvc *stock.Service, ordersSvc *orders.Service, log zerolog.Logger) (g *HTTPGateway, err error)

func (*HTTPGateway) GetRoutes

func (gw *HTTPGateway) GetRoutes() cadre_http.RoutingGroup

type SnackerSvc

type SnackerSvc struct {
	snacker_pb.UnimplementedSnackerServer
	// contains filtered or unexported fields
}

func New

func New(db *gorm.DB, metricsRegistry *metrics.Registry, appStatus *status.Status, log zerolog.Logger) (c *SnackerSvc, err error)

func (*SnackerSvc) Close

func (s *SnackerSvc) Close()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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