Documentation
¶
Index ¶
- func InitFromPoolService(app app_context.Context, restApiServer *rest_api_gin_server.Server, ...) (*pool.PoolServiceBinding, error)
- type Config
- type NoAuthServer
- func (s *NoAuthServer) ApiServer() api_server.Server
- func (s *NoAuthServer) Auth() auth.Auth
- func (s *NoAuthServer) Config() interface{}
- func (s *NoAuthServer) Construct(config ...Config)
- func (s *NoAuthServer) Init(app app_with_multitenancy.AppWithMultitenancy, configPath ...string) error
- func (s *NoAuthServer) PoolService() *pool.PoolServiceBinding
- func (s *NoAuthServer) SetConfigFromPoolService(service pool.PoolService, public ...bool)
- func (s *NoAuthServer) SetPropagateAuthUser(val bool)
- func (s *NoAuthServer) SetPropagateContextId(val bool)
- type NoAuthServerConfig
- type PoolServiceConfig
- type PoolServiceConfigI
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitFromPoolService ¶
func InitFromPoolService(app app_context.Context, restApiServer *rest_api_gin_server.Server, cfg PoolServiceConfigI) (*pool.PoolServiceBinding, error)
Types ¶
type NoAuthServer ¶
type NoAuthServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(config ...Config) *NoAuthServer
func (*NoAuthServer) ApiServer ¶
func (s *NoAuthServer) ApiServer() api_server.Server
func (*NoAuthServer) Auth ¶
func (s *NoAuthServer) Auth() auth.Auth
func (*NoAuthServer) Config ¶
func (s *NoAuthServer) Config() interface{}
func (*NoAuthServer) Construct ¶
func (s *NoAuthServer) Construct(config ...Config)
func (*NoAuthServer) Init ¶
func (s *NoAuthServer) Init(app app_with_multitenancy.AppWithMultitenancy, configPath ...string) error
func (*NoAuthServer) PoolService ¶
func (s *NoAuthServer) PoolService() *pool.PoolServiceBinding
func (*NoAuthServer) SetConfigFromPoolService ¶
func (s *NoAuthServer) SetConfigFromPoolService(service pool.PoolService, public ...bool)
func (*NoAuthServer) SetPropagateAuthUser ¶
func (s *NoAuthServer) SetPropagateAuthUser(val bool)
func (*NoAuthServer) SetPropagateContextId ¶
func (s *NoAuthServer) SetPropagateContextId(val bool)
type NoAuthServerConfig ¶
type NoAuthServerConfig struct {
PoolServiceConfig
}
type PoolServiceConfig ¶
type PoolServiceConfig struct { POOL_SERVICE_NAME string POOL_SERVICE_TYPE string PUBLIC_POOL_SERVICE bool }
func (*PoolServiceConfig) IsPublic ¶
func (p *PoolServiceConfig) IsPublic() bool
func (*PoolServiceConfig) NameOrRole ¶
func (p *PoolServiceConfig) NameOrRole() string
func (*PoolServiceConfig) Type ¶
func (p *PoolServiceConfig) Type() string
type PoolServiceConfigI ¶
Click to show internal directories.
Click to hide internal directories.