gls

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoId

func GoId() int64

func InheritableThreadLocalGet

func InheritableThreadLocalGet[T any](key string) (ret T, ok bool)

func InheritableThreadLocalSet

func InheritableThreadLocalSet[T any](key string, value T)

func ThreadLocalGet

func ThreadLocalGet[T any](key string) (ret T, ok bool)

func ThreadLocalSet

func ThreadLocalSet[T any](key string, value T)

Types

type ThreadLocal added in v1.0.4

type ThreadLocal[T any] routine.ThreadLocal[T]

Jump to

Keyboard shortcuts

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