bare_bones_server

package
v0.0.0-...-7edcfce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BareBonesServerBase

type BareBonesServerBase struct {
	WithoutStatusService bool
	WithoutDynamicTables bool

	MultitenancyBaseServices bool
	// contains filtered or unexported fields
}

func (*BareBonesServerBase) ApiServer

func (s *BareBonesServerBase) ApiServer() api_server.Server

func (*BareBonesServerBase) Auth

func (s *BareBonesServerBase) Auth() auth.Auth

func (*BareBonesServerBase) Config

func (s *BareBonesServerBase) Config() interface{}

func (*BareBonesServerBase) Construct

func (s *BareBonesServerBase) Construct(users auth_session.WithUserSessionManager, config ...Config)

func (*BareBonesServerBase) Init

func (s *BareBonesServerBase) Init(app app_context.Context, tenancyManager multitenancy.Multitenancy, configPath ...string) error

func (*BareBonesServerBase) SignatureManager

func (s *BareBonesServerBase) SignatureManager() signature.SignatureManager

func (*BareBonesServerBase) SmsManager

func (s *BareBonesServerBase) SmsManager() sms.SmsManager

type BareBonesServerBaseConfig

type BareBonesServerBaseConfig struct {
	noauth_server.PoolServiceConfig
}

type Config

type Config struct {
	Auth             auth.Auth
	Server           api_server.Server
	SmsManager       sms.SmsManager
	SmsProviders     sms.ProviderFactory
	SignatureManager signature.SignatureManager

	WithoutStatusService bool
	WithoutDynamicTables bool

	MultitenancyBaseServices bool

	DefaultPoolServiceName   string
	DefaultPoolServiceType   string
	DefaultPublicPoolService bool
}

type Server

type Server interface {
	ApiServer() api_server.Server
	Auth() auth.Auth
	SmsManager() sms.SmsManager
	SignatureManager() signature.SignatureManager
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL