Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientContextBase ¶
type ClientContextBase struct {
// contains filtered or unexported fields
}
ClientContextBase hold mixer client
func NewClientContextBase ¶
func NewClientContextBase(config *v2.Mixer) *ClientContextBase
NewClientContextBase for create ClientContextBase
func (*ClientContextBase) AddLocalNodeAttributes ¶
func (c *ClientContextBase) AddLocalNodeAttributes(attributes *v1.Attributes)
AddLocalNodeAttributes for add local node info into attributes TODO
func (*ClientContextBase) HasMixerConfig ¶
func (c *ClientContextBase) HasMixerConfig() bool
HasMixerConfig return if or not has mixer config
func (*ClientContextBase) MixerAttributes ¶
func (c *ClientContextBase) MixerAttributes() *v1.Attributes
MixerAttributes return mixer attributes
func (*ClientContextBase) SendReport ¶
func (c *ClientContextBase) SendReport(context *RequestContext)
SendReport for send report attributes
type RequestContext ¶
type RequestContext struct {
Attributes v1.Attributes
}
RequestContext is the context to hold request data for both HTTP and TCP.
func NewRequestContext ¶
func NewRequestContext() *RequestContext
NewRequestContext return RequestContext
Click to show internal directories.
Click to hide internal directories.