Documentation ¶
Index ¶
- Constants
- func GetServiceForRequestRequired(ctx context.Context, key string) interface{}
- func GetServiceFromRequest(ctx context.Context, key string) interface{}
- func GetServiceOptional(key string) (service interface{}, has bool)
- func GetServiceRequired(key string) interface{}
- func GinFromContext(ctx context.Context) *gin.Context
- func HasService(key string) bool
- func SetContainer(c di.Container)
- func SetRequestServices(servicesDefinitionsRequest []*DefinitionRequest)
- type DIContainer
- func (d *DIContainer) APILogger() apilogger.IAPILogger
- func (d *DIContainer) AmazonS3() s3.Client
- func (d *DIContainer) App() *app.App
- func (d *DIContainer) Authentication() *authentication.Authentication
- func (d *DIContainer) Calendar() calendar.ICalendar
- func (d *DIContainer) Checkout() checkout.ICheckout
- func (d *DIContainer) Clock() clock.IClock
- func (d *DIContainer) ClockWorkForContext(ctx context.Context) *clockwork.Clockwork
- func (d *DIContainer) Config() config.IConfig
- func (d *DIContainer) Crud() *crud.Crud
- func (d *DIContainer) DDOS() ddos.IDDOS
- func (d *DIContainer) DynamicLink() dynamiclink.IGenerator
- func (d *DIContainer) Elorus() elorus.IProvider
- func (d *DIContainer) ErrorLogger() errorlogger.ErrorLogger
- func (d *DIContainer) Exporter() exporter.IExporter
- func (d *DIContainer) FCM() fcm.FCM
- func (d *DIContainer) FeatureFlag() featureflag.ServiceFeatureFlagInterface
- func (d *DIContainer) FileExtractor() *fileextractor.FileExtractor
- func (d *DIContainer) Generator() generator.IGenerator
- func (d *DIContainer) Google() *social.Google
- func (d *DIContainer) GoogleAnalytics() googleanalytics.IAPIManager
- func (d *DIContainer) Gql() gql.IGQLInterface
- func (d *DIContainer) HTML2PDF() html2pdf.ServiceInterface
- func (d *DIContainer) Instagram() instagram.IAPIManager
- func (d *DIContainer) JWT() *jwt.JWT
- func (d *DIContainer) Kubernetes() kubernetes.IProvider
- func (d *DIContainer) Localize() localize.ILocalizer
- func (d *DIContainer) Mail() mail.Sender
- func (d *DIContainer) OSService() oss.IProvider
- func (d *DIContainer) OTP() otp.IOTP
- func (d *DIContainer) OrmConfig() beeorm.ValidatedRegistry
- func (d *DIContainer) OrmEngine() *beeorm.Engine
- func (d *DIContainer) OrmEngineForContext(ctx context.Context) *beeorm.Engine
- func (d *DIContainer) Password() password.IPassword
- func (d *DIContainer) RequestLogger() requestlogger.IRequestLogger
- func (d *DIContainer) SMS() sms.ISender
- func (d *DIContainer) Sentry() sentry.ISentry
- func (d *DIContainer) Setting() setting.ServiceSettingInterface
- func (d *DIContainer) Slack() slack.Slack
- func (d *DIContainer) SocketRegistry() *socket.Registry
- func (d *DIContainer) Stripe() stripe.IStripe
- func (d *DIContainer) Template() template.ITemplateInterface
- func (d *DIContainer) UUID() uuid.IUUID
- func (d *DIContainer) Uploader() uploader.Uploader
- type DefinitionGlobal
- type DefinitionRequest
Constants ¶
View Source
const ( GinKey key = iota RequestBodyKey )
View Source
const ( AppService = "app" ConfigService = "config" ErrorLoggerService = "error_logger" LocalizeService = "localize" HTML2PDFService = "html2pdf" ExtractorService = "extractor" JWTService = "jwt" DDOSService = "ddos" FCMService = "fcm" ORMConfigService = "orm_config" ORMEngineGlobalService = "orm_engine_global" ORMEngineRequestService = "orm_engine_request" ClockWorkRequestService = "clockwork_request" CalendarService = "calendar" OSService = "oss" PasswordService = "password" SlackService = "slack" AmazonS3Service = "amazon_s3" UploaderService = "uploader" StripeService = "stripe" CheckoutService = "checkout" DynamicLinkService = "dynamic_link" SocketRegistryService = "socket_registry" APILoggerService = "api_logger" AuthenticationService = "authentication" ClockService = "clock" SMSService = "sms" GoroutineService = "goroutine" GeneratorService = "generator" MailService = "mail" GoogleService = "google" FacebookService = "facebook" CrudService = "crud" UUIDService = "uuid" OTPService = "otp" ExporterService = "exporter" SettingService = "setting" FeatureFlagService = "feature_flag" TemplateService = "template" GQLService = "gql" ElorusService = "elorus" InstagramService = "instagram" GoogleAnalyticsService = "google_analytics" KubernetesService = "kubernetes" SentryService = "sentry" RequestLoggerService = "request_logger" )
Variables ¶
This section is empty.
Functions ¶
func GetServiceFromRequest ¶ added in v0.8.35
func GetServiceOptional ¶
func GetServiceRequired ¶
func GetServiceRequired(key string) interface{}
func HasService ¶
func SetContainer ¶
func SetRequestServices ¶ added in v0.8.35
func SetRequestServices(servicesDefinitionsRequest []*DefinitionRequest)
Types ¶
type DIContainer ¶ added in v0.9.98
type DIContainer struct { }
func DI ¶
func DI() *DIContainer
func (*DIContainer) APILogger ¶ added in v0.9.98
func (d *DIContainer) APILogger() apilogger.IAPILogger
func (*DIContainer) AmazonS3 ¶ added in v0.9.98
func (d *DIContainer) AmazonS3() s3.Client
func (*DIContainer) App ¶ added in v0.9.98
func (d *DIContainer) App() *app.App
func (*DIContainer) Authentication ¶ added in v0.9.98
func (d *DIContainer) Authentication() *authentication.Authentication
func (*DIContainer) Calendar ¶ added in v1.2.15
func (d *DIContainer) Calendar() calendar.ICalendar
func (*DIContainer) Checkout ¶ added in v0.9.98
func (d *DIContainer) Checkout() checkout.ICheckout
func (*DIContainer) Clock ¶ added in v0.9.98
func (d *DIContainer) Clock() clock.IClock
func (*DIContainer) ClockWorkForContext ¶ added in v1.0.0
func (d *DIContainer) ClockWorkForContext(ctx context.Context) *clockwork.Clockwork
func (*DIContainer) Config ¶ added in v0.9.98
func (d *DIContainer) Config() config.IConfig
func (*DIContainer) Crud ¶ added in v0.9.98
func (d *DIContainer) Crud() *crud.Crud
func (*DIContainer) DDOS ¶ added in v0.9.98
func (d *DIContainer) DDOS() ddos.IDDOS
func (*DIContainer) DynamicLink ¶ added in v0.9.98
func (d *DIContainer) DynamicLink() dynamiclink.IGenerator
func (*DIContainer) Elorus ¶ added in v1.0.52
func (d *DIContainer) Elorus() elorus.IProvider
func (*DIContainer) ErrorLogger ¶ added in v0.9.98
func (d *DIContainer) ErrorLogger() errorlogger.ErrorLogger
func (*DIContainer) Exporter ¶ added in v0.9.98
func (d *DIContainer) Exporter() exporter.IExporter
func (*DIContainer) FCM ¶ added in v0.9.98
func (d *DIContainer) FCM() fcm.FCM
func (*DIContainer) FeatureFlag ¶ added in v0.9.98
func (d *DIContainer) FeatureFlag() featureflag.ServiceFeatureFlagInterface
func (*DIContainer) FileExtractor ¶ added in v0.9.98
func (d *DIContainer) FileExtractor() *fileextractor.FileExtractor
func (*DIContainer) Generator ¶ added in v0.9.98
func (d *DIContainer) Generator() generator.IGenerator
func (*DIContainer) Google ¶ added in v0.9.98
func (d *DIContainer) Google() *social.Google
func (*DIContainer) GoogleAnalytics ¶ added in v1.1.36
func (d *DIContainer) GoogleAnalytics() googleanalytics.IAPIManager
func (*DIContainer) Gql ¶ added in v1.0.35
func (d *DIContainer) Gql() gql.IGQLInterface
func (*DIContainer) HTML2PDF ¶ added in v1.2.0
func (d *DIContainer) HTML2PDF() html2pdf.ServiceInterface
func (*DIContainer) Instagram ¶ added in v1.0.66
func (d *DIContainer) Instagram() instagram.IAPIManager
func (*DIContainer) JWT ¶ added in v0.9.98
func (d *DIContainer) JWT() *jwt.JWT
func (*DIContainer) Kubernetes ¶ added in v1.1.50
func (d *DIContainer) Kubernetes() kubernetes.IProvider
func (*DIContainer) Localize ¶ added in v0.9.98
func (d *DIContainer) Localize() localize.ILocalizer
func (*DIContainer) Mail ¶ added in v1.1.4
func (d *DIContainer) Mail() mail.Sender
func (*DIContainer) OSService ¶ added in v0.9.98
func (d *DIContainer) OSService() oss.IProvider
func (*DIContainer) OTP ¶ added in v0.9.98
func (d *DIContainer) OTP() otp.IOTP
func (*DIContainer) OrmConfig ¶ added in v0.9.98
func (d *DIContainer) OrmConfig() beeorm.ValidatedRegistry
func (*DIContainer) OrmEngine ¶ added in v0.9.98
func (d *DIContainer) OrmEngine() *beeorm.Engine
func (*DIContainer) OrmEngineForContext ¶ added in v0.9.98
func (d *DIContainer) OrmEngineForContext(ctx context.Context) *beeorm.Engine
func (*DIContainer) Password ¶ added in v0.9.98
func (d *DIContainer) Password() password.IPassword
func (*DIContainer) RequestLogger ¶ added in v1.2.55
func (d *DIContainer) RequestLogger() requestlogger.IRequestLogger
func (*DIContainer) SMS ¶ added in v0.9.98
func (d *DIContainer) SMS() sms.ISender
func (*DIContainer) Sentry ¶ added in v1.2.13
func (d *DIContainer) Sentry() sentry.ISentry
func (*DIContainer) Setting ¶ added in v0.9.98
func (d *DIContainer) Setting() setting.ServiceSettingInterface
func (*DIContainer) Slack ¶ added in v0.9.98
func (d *DIContainer) Slack() slack.Slack
func (*DIContainer) SocketRegistry ¶ added in v0.9.98
func (d *DIContainer) SocketRegistry() *socket.Registry
func (*DIContainer) Stripe ¶ added in v0.9.98
func (d *DIContainer) Stripe() stripe.IStripe
func (*DIContainer) Template ¶ added in v1.0.32
func (d *DIContainer) Template() template.ITemplateInterface
func (*DIContainer) UUID ¶ added in v0.9.98
func (d *DIContainer) UUID() uuid.IUUID
func (*DIContainer) Uploader ¶ added in v0.9.98
func (d *DIContainer) Uploader() uploader.Uploader
type DefinitionGlobal ¶ added in v0.8.35
Click to show internal directories.
Click to hide internal directories.