core

package
v0.0.0-...-6443788 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ChatAccount = ContextKey("account")

Variables

View Source
var (
	CONFIG_LOCATION string
	ROOT_ADMIN      string
)
View Source
var JWT_ACCOUNT_CLAIM string

Functions

func Config

func Config() (*cc.Defaults, error)

func In

func In[T comparable](o T, a []T) bool

func NewLogger

func NewLogger() (log *zap.Logger)

func SetConfig

func SetConfig(requestor string, defaults *cc.Defaults) (*cc.Defaults, error)

func Unique

func Unique[T comparable](a []T) []T

Types

type ContextKey

type ContextKey string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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