server

package
v1.99.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(
	c *conf.Bootstrap,
	jwtp jwt.IJwtProcessor,
	tracer *u_tracing.Tracer,
	itemService *service.ItemService,
	productService *service.ProductService,
	invoiceService *service.InvoiceService,
	subscriptionService *service.SubscriptionService,
	appleStoreService *service.AppleStoreService,
	paymentService *service.PaymentsService,
) *grpc.Server

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(
	c *conf.Bootstrap,
	jwtp jwt.IJwtProcessor,
) *khttp.Server

NewHTTPServer new an HTTP server.

Types

type CronServer

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

func NewCronServer

func NewCronServer(
	logger log.Logger,
	invoice *biz.InvoicesUseCase,
	payments *biz.PaymentUseCase,
) *CronServer

NewCronServer

func (*CronServer) Start

func (cs *CronServer) Start(ctx context.Context) error

func (*CronServer) Stop

func (cs *CronServer) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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