Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client(hmtOpt *shttp.WebMultiTenancyOption) middleware.Middleware
func Server ¶
func Server(ts saas.TenantStore, options ...Option) middleware.Middleware
Types ¶
type ErrorFormatter ¶
type HeaderTenantResolveContrib ¶
type HeaderTenantResolveContrib struct {
// contains filtered or unexported fields
}
func NewHeaderTenantResolveContrib ¶
func NewHeaderTenantResolveContrib(key string, transporter transport.Transporter) *HeaderTenantResolveContrib
func (*HeaderTenantResolveContrib) Name ¶
func (h *HeaderTenantResolveContrib) Name() string
type Option ¶
type Option func(*option)
func WithErrorFormatter ¶
func WithErrorFormatter(e ErrorFormatter) Option
func WithMultiTenancyOption ¶
func WithMultiTenancyOption(opt *shttp.WebMultiTenancyOption) Option
func WithResolveOption ¶
func WithResolveOption(opt ...saas.ResolveOption) Option
Click to show internal directories.
Click to hide internal directories.