Help us shape the future of Go! Take the 2026 Go Developer Survey

app

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*proto.GetAuthConfigResponse
	// contains filtered or unexported fields
}

func (*Config) GetAuthenticationType

func (c *Config) GetAuthenticationType() auth.AuthenticationType

func (*Config) IsApplicationAdmEnabled

func (c *Config) IsApplicationAdmEnabled() bool

func (*Config) IsEmailsDisabled

func (c *Config) IsEmailsDisabled() bool

type IConfig

type IConfig interface {
	IsEmailsDisabled() bool
	IsApplicationAdmEnabled() bool
	GetAuthenticationType() auth.AuthenticationType
}

func NewAppConfig

func NewAppConfig(authGRPC proto.AuthServiceClient) IConfig

type Mock

type Mock struct {
	mock.Mock
}

func (*Mock) GetAuthenticationType

func (m *Mock) GetAuthenticationType() auth.AuthenticationType

func (*Mock) IsApplicationAdmEnabled

func (m *Mock) IsApplicationAdmEnabled() bool

func (*Mock) IsEmailsDisabled

func (m *Mock) IsEmailsDisabled() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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