users

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs = configset.Set[Config]{
	Default: &Config{},
}

Functions

func New

func New(cfg *Config, db db.DB, l *zap.Logger) sdkservices.Users

Types

type Config

type Config struct {
	// If set, do not create a personal org for new users. Instead, set this as their default org.
	DefaultOrgID sdktypes.OrgID `json:"default_org_id"`
}

Jump to

Keyboard shortcuts

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