Documentation ¶
Index ¶
- Variables
- func NewAPIApplication(ctx2 context.Context, i18n2 *message.Printer, log logger.Logger, ...) (*http.Server, error)
- func NewLinkCommandRPCClient(runRPCClient *grpc.ClientConn) (linkv1grpc2.LinkCommandServiceClient, error)
- func NewLinkQueryRPCClient(runRPCClient *grpc.ClientConn) (linkv1grpc2.LinkQueryServiceClient, error)
- func NewLinkRPCClient(runRPCClient *grpc.ClientConn) (linkv1grpc.LinkServiceClient, error)
- func NewSitemapServiceClient(runRPCClient *grpc.ClientConn) (sitemapv1grpc.SitemapServiceClient, error)
- type BFFWebService
Constants ¶
This section is empty.
Variables ¶
View Source
var BFFWebServiceSet = wire.NewSet(di.DefaultSet, i18n.New, rpc.InitServer, rpc.InitClient, NewLinkRPCClient, NewLinkCommandRPCClient, NewLinkQueryRPCClient, NewSitemapServiceClient, NewAPIApplication, NewBFFWebService, )
BFFWebService =======================================================================================================
Functions ¶
func NewAPIApplication ¶
func NewAPIApplication(ctx2 context.Context, i18n2 *message.Printer, log logger.Logger, config2 *config.Config, autoMaxPro2 autoMaxPro.AutoMaxPro, tracer trace.TracerProvider, monitoring2 *monitoring.Monitoring, pprofEndpoint profiling.PprofEndpoint, rpcServer *rpc.Server, link_rpc linkv1grpc.LinkServiceClient, link_command linkv1grpc2.LinkCommandServiceClient, link_query linkv1grpc2.LinkQueryServiceClient, sitemap_rpc sitemapv1grpc.SitemapServiceClient, ) (*http.Server, error)
func NewLinkCommandRPCClient ¶
func NewLinkCommandRPCClient(runRPCClient *grpc.ClientConn) (linkv1grpc2.LinkCommandServiceClient, error)
func NewLinkQueryRPCClient ¶
func NewLinkQueryRPCClient(runRPCClient *grpc.ClientConn) (linkv1grpc2.LinkQueryServiceClient, error)
func NewLinkRPCClient ¶
func NewLinkRPCClient(runRPCClient *grpc.ClientConn) (linkv1grpc.LinkServiceClient, error)
func NewSitemapServiceClient ¶
func NewSitemapServiceClient(runRPCClient *grpc.ClientConn) (sitemapv1grpc.SitemapServiceClient, error)
Types ¶
type BFFWebService ¶
type BFFWebService struct { // Common Log logger.Logger Config *config.Config AutoMaxPro autoMaxPro.AutoMaxPro // Observability Tracer trace.TracerProvider Monitoring *monitoring.Monitoring PprofEndpoint profiling.PprofEndpoint // 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, autoMaxPro2 autoMaxPro.AutoMaxPro, tracer trace.TracerProvider, monitoring2 *monitoring.Monitoring, pprofEndpoint profiling.PprofEndpoint, httpAPIServer *http.Server, ) *BFFWebService
Click to show internal directories.
Click to hide internal directories.