Documentation ¶
Index ¶
- Variables
- func NewAuthorizationOption() *authz.Option
- func NewEventServer(c *kitconf.Data, conn dal.ConnName, logger klog.Logger, uowMgr uow2.Manager, ...) *event.ConsumerFactoryServer
- func NewGRPCServer(c *conf.Services, tokenizer jwt.Tokenizer, ts saas.TenantStore, ...) *grpc.Server
- func NewHTTPServer(c *conf.Services, sCfg *conf.Security, tokenizer jwt.Tokenizer, ...) *http.Server
- func NewJobServer(opt asynq.RedisConnOpt, log klog.Logger) *job.Server
- func NewSeeder(ts saas.TenantStore, ss Seeding) seed.Seeder
- type Seeding
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientName kapi.ClientName = api.ServiceName
View Source
var ProviderSet = wire.NewSet(NewHTTPServer, NewGRPCServer, NewJobServer, NewEventServer, NewSeeder, wire.Value(ClientName), wire.Value(biz.ConnName), NewSeeding, NewAuthorizationOption)
ProviderSet is server providers.
Functions ¶
func NewAuthorizationOption ¶
func NewEventServer ¶
func NewGRPCServer ¶
func NewGRPCServer(c *conf.Services, tokenizer jwt.Tokenizer, ts saas.TenantStore, uowMgr uow2.Manager, mOpt *http.WebMultiTenancyOption, apiOpt *sapi.Option, userTenant *uapi.UserTenantContrib, validator sapi.TrustedContextValidator, register service.GrpcServerRegister, logger log.Logger) *grpc.Server
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
func NewHTTPServer(c *conf.Services, sCfg *conf.Security, tokenizer jwt.Tokenizer, ts saas.TenantStore, uowMgr uow2.Manager, mOpt *http2.WebMultiTenancyOption, apiOpt *sapi.Option, reqDecoder http.DecodeRequestFunc, resEncoder http.EncodeResponseFunc, errEncoder http.EncodeErrorFunc, logger log.Logger, validator sapi.TrustedContextValidator, userTenant *uapi.UserTenantContrib, register service.HttpServerRegister) *http.Server
NewHTTPServer new a HTTP server.
func NewJobServer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.