Documentation ¶
Overview ¶
Package tenant provides access to tenants.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( wire.Struct(new(Server), "*"), wire.Bind(new(tenant.TenantsServer), new(*Server)), )
Set is used by wire.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { tenant.UnsafeTenantsServer `wire:"-"` DB *pgxpool.Pool Logger *log.Logger }
Server implements the tenant.TenantsServer API.
func (*Server) Ensure ¶
func (s *Server) Ensure(ctx context.Context, req *tenant.EnsureRequest) (*tenant.EnsureResponse, error)
Ensure implements TenantsServer.
func (*Server) Get ¶
func (s *Server) Get(ctx context.Context, req *tenant.GetRequest) (*tenant.GetResponse, error)
Get implements TenantsServer.
Click to show internal directories.
Click to hide internal directories.