Documentation ¶
Index ¶
- Constants
- func ContextHandleInterruptSignal(ctx context.Context) context.Context
- func ContextIsDebug(ctx context.Context) bool
- func ContextPop(ctx context.Context) context.Context
- func ContextPush(ctx context.Context) context.Context
- func ContextSetDebug(parent context.Context, debug bool) context.Context
- func ContextSetDebugAuto(parent context.Context) context.Context
- func GenerateQid(len int) string
- func NewRangeReader(r io.Reader, offset int64, length int64) (rr *rangeReader)
- type Range
- type RangeError
Constants ¶
View Source
const ContextDebugKey = "debug"
View Source
const ContextHistoryKey = "prevContext"
View Source
const (
QidTimeOrigin = 167253120 // 2023-01-01T00:00:00Z
)
Variables ¶
This section is empty.
Functions ¶
func ContextIsDebug ¶
func GenerateQid ¶
Types ¶
type RangeError ¶
type RangeError struct { Range Range // contains filtered or unexported fields }
func (*RangeError) Error ¶
func (re *RangeError) Error() string
Click to show internal directories.
Click to hide internal directories.