zipkindependencies

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	StartTs int64             `thrift:"start_ts,1" json:"start_ts"`
	EndTs   int64             `thrift:"end_ts,2" json:"end_ts"`
	Links   []*DependencyLink `thrift:"links,3" json:"links"`
}

Attributes:

  • StartTs: milliseconds from epoch
  • EndTs: milliseconds from epoch
  • Links

func NewDependencies

func NewDependencies() *Dependencies

func (*Dependencies) GetEndTs

func (p *Dependencies) GetEndTs() int64
func (p *Dependencies) GetLinks() []*DependencyLink

func (*Dependencies) GetStartTs

func (p *Dependencies) GetStartTs() int64

func (*Dependencies) Read

func (p *Dependencies) Read(iprot thrift.TProtocol) error

func (*Dependencies) String

func (p *Dependencies) String() string

func (*Dependencies) Write

func (p *Dependencies) Write(oprot thrift.TProtocol) error
type DependencyLink struct {
	Parent string `thrift:"parent,1" json:"parent"`
	Child  string `thrift:"child,2" json:"child"`
	// unused field # 3
	CallCount int64 `thrift:"callCount,4" json:"callCount"`
}

Attributes:

  • Parent: parent service name (caller)
  • Child: child service name (callee)
  • CallCount: calls made during the duration of this link
func NewDependencyLink() *DependencyLink

func (*DependencyLink) GetCallCount

func (p *DependencyLink) GetCallCount() int64

func (*DependencyLink) GetChild

func (p *DependencyLink) GetChild() string

func (*DependencyLink) GetParent

func (p *DependencyLink) GetParent() string

func (*DependencyLink) Read

func (p *DependencyLink) Read(iprot thrift.TProtocol) error

func (*DependencyLink) String

func (p *DependencyLink) String() string

func (*DependencyLink) Write

func (p *DependencyLink) Write(oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

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