control

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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