Documentation ¶
Index ¶
- Variables
- func NewAPIApplication(ctx2 context.Context, i18n2 *message.Printer, log logger.Logger, ...) (*http.Server, error)
- func NewLinkCommandRPCClient(runRPCClient *grpc.ClientConn) (v1_2.LinkCommandServiceClient, error)
- func NewLinkQueryRPCClient(runRPCClient *grpc.ClientConn) (v1_2.LinkQueryServiceClient, error)
- func NewLinkRPCClient(runRPCClient *grpc.ClientConn) (v1.LinkServiceClient, error)
- func NewMetadataRPCClient(runRPCClient *grpc.ClientConn) (v1_4.MetadataServiceClient, error)
- func NewSitemapServiceClient(runRPCClient *grpc.ClientConn) (v1_3.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, NewMetadataRPCClient, NewAPIApplication, NewBFFWebService, )
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
Click to show internal directories.
Click to hide internal directories.