shared

package
v0.0.0-...-9cb7876 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrChainNotInit = errors.New("this chain not init")
)

Functions

func GetUser

func GetUser(ctx context.Context) (*models.User, bool)

GetUser .

func WithUser

func WithUser(ctx context.Context, user *models.User) context.Context

WithUser .

Types

This section is empty.

Jump to

Keyboard shortcuts

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