Documentation ¶
Index ¶
- func BeginGO() (endgort func())
- func GO(gofun func())
- func NewGrlsIdx1(grls *GrlsIdx) (delrs_func func())
- type GrlsArmor
- func (this *GrlsArmor) GetAny() any
- func (this *GrlsArmor) GetInt() int64
- func (this *GrlsArmor) GetPrevAny() any
- func (this *GrlsArmor) GetPrevInt() int64
- func (this *GrlsArmor) IsNil() bool
- func (this *GrlsArmor) SetAny(pval any) (unset func() bool)
- func (this *GrlsArmor) SetInt(pval int64) (unset func() bool)
- func (this *GrlsArmor) UnSet() bool
- type GrlsIdx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginGO ¶
func BeginGO() (endgort func())
BeginGO 在每一个线程头尾执行的,形如:defer BeginGO()(), 以完成go routine本地存储的初始化和退出资源释放。
func NewGrlsIdx1 ¶
func NewGrlsIdx1(grls *GrlsIdx) (delrs_func func())
Types ¶
type GrlsArmor ¶
type GrlsArmor struct {
// contains filtered or unexported fields
}
GrlsArmor 对需求恢复routine本地存储前一个值有要求的地方可以使用
func NewGrlsArmor ¶
func (*GrlsArmor) GetPrevAny ¶
func (*GrlsArmor) GetPrevInt ¶
Click to show internal directories.
Click to hide internal directories.