Documentation ¶
Index ¶
- Variables
- func NewAPIApplication(ctx2 context.Context, log logger.Logger, tracer trace.TracerProvider, ...) (domain.API, 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 APIService
Constants ¶
This section is empty.
Variables ¶
View Source
var APISet = wire.NewSet(di.DefaultSet, rpc.InitClient, NewLinkRPCClient, NewLinkCommandRPCClient, NewLinkQueryRPCClient, NewSitemapServiceClient, NewAPIApplication, NewAPIService, )
APIService ==========================================================================================================
Functions ¶
func NewAPIApplication ¶
func NewAPIApplication(ctx2 context.Context, log logger.Logger, tracer trace.TracerProvider, monitor *monitoring.Monitoring, link_rpc linkv1grpc.LinkServiceClient, link_command linkv1grpc2.LinkCommandServiceClient, link_query linkv1grpc2.LinkQueryServiceClient, sitemap_rpc sitemapv1grpc.SitemapServiceClient, ) (domain.API, 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 APIService ¶
type APIService 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 InitializeAPIService ¶
func InitializeAPIService() (*APIService, func(), error)
func NewAPIService ¶
func NewAPIService( log logger.Logger, config2 *config.Config, monitoring2 *monitoring.Monitoring, tracer trace.TracerProvider, pprofHTTP profiling.PprofEndpoint, autoMaxProcsOption autoMaxPro.AutoMaxPro, service domain.API, ) (*APIService, error)
Click to show internal directories.
Click to hide internal directories.