Documentation
¶
Index ¶
- type Context
- func (c *Context) AddDepth(val int32) int32
- func (c *Context) Change(key string)
- func (c *Context) Clone(opts ...func(*packet.Head)) *packet.Head
- func (c *Context) Debug(args ...any)
- func (c *Context) Debugf(f string, args ...any)
- func (c *Context) Derive(opts ...func(*packet.Head)) *packet.Head
- func (c *Context) Destroy()
- func (c *Context) Error(args ...any)
- func (c *Context) Errorf(f string, args ...any)
- func (c *Context) Fatal(args ...any)
- func (c *Context) Fatalf(f string, args ...any)
- func (c *Context) GetActorId() uint64
- func (c *Context) GetCache(key string) *redispool.Value
- func (c *Context) GetClientIp() string
- func (c *Context) GetDepth() int32
- func (c *Context) Has(key string) bool
- func (c *Context) Info(args ...any)
- func (c *Context) Infof(f string, args ...any)
- func (c *Context) IsChanged(key string) bool
- func (c *Context) ReadOnly() *packet.Head
- func (c *Context) Refresh()
- func (c *Context) SetActorFunc(v uint32)
- func (c *Context) SetActorFuncName(v string)
- func (c *Context) SetActorId(v uint64)
- func (c *Context) SetBack(v *packet.Callback)
- func (c *Context) SetCache(key string, value *redispool.Value)
- func (c *Context) SetClientIp(ip string)
- func (c *Context) SetCmd(v uint32)
- func (c *Context) SetCreateTime(v int64)
- func (c *Context) SetDstId(v uint32)
- func (c *Context) SetDstType(v uint32)
- func (c *Context) SetReply(v string)
- func (c *Context) SetSendType(v packet.SendType)
- func (c *Context) SetSeq(v uint32)
- func (c *Context) SetSocketId(v uint32)
- func (c *Context) SetSrcId(v uint32)
- func (c *Context) SetSrcType(v uint32)
- func (c *Context) SetTraceId(v uint32)
- func (c *Context) SetUid(v uint64)
- func (c *Context) SetVersion(v uint32)
- func (c *Context) Trace(args ...any)
- func (c *Context) Tracef(f string, args ...any)
- func (c *Context) Values() []*redispool.Value
- func (c *Context) Warn(args ...any)
- func (c *Context) Warnf(f string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
func (*Context) GetActorId ¶
func (*Context) GetClientIp ¶
func (*Context) SetActorFunc ¶
func (*Context) SetActorFuncName ¶
func (*Context) SetActorId ¶
func (*Context) SetClientIp ¶
func (*Context) SetCreateTime ¶
func (*Context) SetDstType ¶
func (*Context) SetSendType ¶
func (*Context) SetSocketId ¶
func (*Context) SetSrcType ¶
func (*Context) SetTraceId ¶
func (*Context) SetVersion ¶
Click to show internal directories.
Click to hide internal directories.