session

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}

func New

func New(name string, db gorm.Dialector, uc redis.UniversalClient) (*Session, error)

func (*Session) AppName

func (s *Session) AppName() string

func (*Session) GetOrCreate

func (s *Session) GetOrCreate(ctx context.Context, userId string) (string, error)

func (*Session) Service

func (s *Session) Service() session.Service

Jump to

Keyboard shortcuts

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