instdb

package
v0.0.0-...-64eff32 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelSession

func DelSession(sess *Session)

func GenSerialNumber

func GenSerialNumber() string

func GetPKDB

func GetPKDB() kvdb.KVDBInterface

func GetSessionDB

func GetSessionDB() kvdb.KVDBInterface

func InserSession

func InserSession(sess *Session) error

func SessTimeOutStop

func SessTimeOutStop()

func SessionTimeOut

func SessionTimeOut()

Types

type Session

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

func FindSession

func FindSession(sess *Session) (r *Session, err error)

func NewSession

func NewSession(pubkey string) *Session

func (*Session) GetPubKey

func (sess *Session) GetPubKey() string

func (*Session) GetSn

func (sess *Session) GetSn() string

func (*Session) SetPubKey

func (sess *Session) SetPubKey(pk string)

func (*Session) SetSn

func (sess *Session) SetSn(sn string)

Jump to

Keyboard shortcuts

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