session

package
v0.0.0-...-0f323ce Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandSession

type CommandSession struct {
	SessionID string
	Started   time.Time
}
var CurrentSession *CommandSession

CurrentSession stores the last pointer created by NewCommandSession

func NewCommandSession

func NewCommandSession() *CommandSession

func (CommandSession) Duration

func (s CommandSession) Duration() time.Duration

func (CommandSession) Start

func (s CommandSession) Start() *CommandSession

Jump to

Keyboard shortcuts

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