Versions in this module Expand all Collapse all v0 v0.0.4 Jul 9, 2022 Changes in this version + const ResourceTenant + const ServiceName + var GrpcProviderSet = wire.NewSet(NewTenantStore, NewGrpcConn, NewTenantGrpcClient, NewTenantInternalGrpcClient) + func NewTenantGrpcClient(conn GrpcConn) v1.TenantServiceServer + func NewTenantInternalGrpcClient(conn GrpcConn) v1.TenantInternalServiceServer + func NewTenantStore(srv v1.TenantInternalServiceServer) saas.TenantStore + type GrpcConn grpc.ClientConnInterface + func NewGrpcConn(clientName api.ClientName, services *conf.Services, dis registry.Discovery, ...) (GrpcConn, func()) + type HttpClient *http.Client + type TenantStore struct + func (r *TenantStore) GetByNameOrId(ctx context.Context, nameOrId string) (*saas.TenantConfig, error)