Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextWrapper ¶
type ContextWrapper interface {
context.Context
Log() *logrus.Entry
GetLogId() string
SetLogName(name string) ContextWrapper
GetContext() context.Context
}
func NewContext ¶
func NewContext(ctx context.Context) ContextWrapper
type IContext ¶
func (*IContext) GetContext ¶
func (*IContext) SetLogName ¶
func (s *IContext) SetLogName(name string) ContextWrapper
Click to show internal directories.
Click to hide internal directories.