bff_web_di

package
v0.0.0-...-a1e1105 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

BFFWebService =======================================================================================================

Functions

func NewAPIApplication

func NewAPIApplication(ctx2 context.Context, i18n2 *message.Printer,
	log logger.Logger, config2 *config.Config,

	tracer trace.TracerProvider, monitoring2 *monitoring.Monitoring,
	pprofEndpoint profiling.PprofEndpoint, autoMaxPro2 autoMaxPro.AutoMaxPro,

	rpcServer *rpc.Server,
	link_rpc v1.LinkServiceClient,
	link_command v1_2.LinkCommandServiceClient,
	link_query v1_2.LinkQueryServiceClient,
	sitemap_rpc v1_3.SitemapServiceClient,
) (*http.Server, error)

func NewLinkCommandRPCClient

func NewLinkCommandRPCClient(runRPCClient *grpc.ClientConn) (v1_2.LinkCommandServiceClient, error)

func NewLinkQueryRPCClient

func NewLinkQueryRPCClient(runRPCClient *grpc.ClientConn) (v1_2.LinkQueryServiceClient, error)

func NewLinkRPCClient

func NewLinkRPCClient(runRPCClient *grpc.ClientConn) (v1.LinkServiceClient, error)

func NewMetadataRPCClient

func NewMetadataRPCClient(runRPCClient *grpc.ClientConn) (v1_4.MetadataServiceClient, error)

func NewSitemapServiceClient

func NewSitemapServiceClient(runRPCClient *grpc.ClientConn) (v1_3.SitemapServiceClient, error)

Types

type BFFWebService

type BFFWebService struct {
	// Common
	Log    logger.Logger
	Config *config.Config

	// Observability
	Tracer        trace.TracerProvider
	Monitoring    *monitoring.Monitoring
	PprofEndpoint profiling.PprofEndpoint
	AutoMaxPro    autoMaxPro.AutoMaxPro
	// contains filtered or unexported fields
}

func InitializeBFFWebService

func InitializeBFFWebService() (*BFFWebService, func(), error)

func NewBFFWebService

func NewBFFWebService(ctx2 context.Context,

	log logger.Logger, config2 *config.Config,

	tracer trace.TracerProvider, monitoring2 *monitoring.Monitoring,
	pprofEndpoint profiling.PprofEndpoint, autoMaxPro2 autoMaxPro.AutoMaxPro,

	httpAPIServer *http.Server,
) *BFFWebService

Jump to

Keyboard shortcuts

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