conf

package
v0.0.0-...-313507d Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadSettings

func ReadSettings(filepath string, data interface{}) (err error)

Types

type SessionManager

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

func (*SessionManager) AddSessionData

func (sm *SessionManager) AddSessionData(idSession int, data string) error

func (*SessionManager) DeleteSessionData

func (sm *SessionManager) DeleteSessionData(idSession int) error

func (*SessionManager) GetSessionData

func (sm *SessionManager) GetSessionData(idSession int) (string, error)

func (*SessionManager) NewSessionManager

func (sm *SessionManager) NewSessionManager(redis *redis.Redis) *SessionManager

Jump to

Keyboard shortcuts

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