session

package
v0.0.0-...-489b206 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Unlicense Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSession

func CreateSession(info *SessionInfo) (id string, err error)

Create session with info and return session identifier or error

func InitSession

func InitSession()

Types

type SessionInfo

type SessionInfo struct {
	Id   uint64
	Name string
}

func GetSessionInfo

func GetSessionInfo(id string) (result *SessionInfo, err error)

Jump to

Keyboard shortcuts

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