session

package
v0.0.0-...-b302b47 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: Apache-2.0 Imports: 2 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() *Session

func (*Session) Create

func (s *Session) Create(userId ulid.ULID) string

func (*Session) Delete

func (s *Session) Delete(sessionId string)

func (*Session) Get

func (s *Session) Get(sessionId string) (ulid.ULID, error)

Jump to

Keyboard shortcuts

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