Documentation
¶
Index ¶
Constants ¶
View Source
const ( SessionTimeoutKey sessionCtxKey = "timeout" SessionIntervalKey sessionCtxKey = "interval" SessionExtendTimeoutKey sessionCtxKey = "timeout-extend" SessionCloseChannelKey sessionCtxKey = "cancel-channel" SessionCloseFunctionKey sessionCtxKey = "cancel-function" )
Variables ¶
View Source
var GenerateID = func() ID { b := make([]byte, 16) rand.Read(b) return ID("eio-" + base64.RawURLEncoding.EncodeToString(b)) }
Functions ¶
This section is empty.
Types ¶
type ExtendTimeoutFunc ¶
type ExtendTimeoutFunc func()
type IntervalChannel ¶
type TimeoutChannel ¶
type TimeoutChannel func() <-chan struct{}
Click to show internal directories.
Click to hide internal directories.