Versions in this module Expand all Collapse all v0 v0.0.4 Jul 9, 2022 Changes in this version + var ProviderSet = wire.NewSet(NewHttpServerRegister, NewGrpcServerRegister, NewTenantService, ...) + type GrpcServerRegister server.GrpcServiceRegister + func NewGrpcServerRegister(tenant *TenantService, tenantInternal *TenantInternalService) GrpcServerRegister + type HttpServerRegister server.HttpServiceRegister + func NewHttpServerRegister(tenant *TenantService, factory blob.Factory, authzSrv authz.Service, ...) HttpServerRegister + type TenantInternalService struct + App *conf.AppConfig + Blob blob.Factory + Trusted sapi.TrustedContextValidator + UseCase *biz.TenantUseCase + func (s *TenantInternalService) GetTenant(ctx context.Context, req *pb.GetTenantRequest) (*pb.Tenant, error) + type TenantService struct + func NewTenantService(useCase *biz.TenantUseCase, auth authz.Service, ...) *TenantService + func (s *TenantService) CreateTenant(ctx context.Context, req *pb.CreateTenantRequest) (*pb.Tenant, error) + func (s *TenantService) DeleteTenant(ctx context.Context, req *pb.DeleteTenantRequest) (*pb.DeleteTenantReply, error) + func (s *TenantService) GetCurrentTenant(ctx context.Context, req *pb.GetCurrentTenantRequest) (*pb.GetCurrentTenantReply, error) + func (s *TenantService) GetTenant(ctx context.Context, req *pb.GetTenantRequest) (*pb.Tenant, error) + func (s *TenantService) GetTenantPublic(ctx context.Context, req *pb.GetTenantPublicRequest) (*pb.TenantInfo, error) + func (s *TenantService) ListTenant(ctx context.Context, req *pb.ListTenantRequest) (*pb.ListTenantReply, error) + func (s *TenantService) UpdateLogo(ctx http.Context) error + func (s *TenantService) UpdateTenant(ctx context.Context, req *pb.UpdateTenantRequest) (*pb.Tenant, error)