Documentation ¶
Index ¶
- Variables
- type Dependencies
- type Dependency
- type DependencyClient
- type DependencyGetDependenciesForTraceArgs
- func (p *DependencyGetDependenciesForTraceArgs) GetTraceId() string
- func (p *DependencyGetDependenciesForTraceArgs) Read(iprot thrift.TProtocol) error
- func (p *DependencyGetDependenciesForTraceArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *DependencyGetDependenciesForTraceArgs) String() string
- func (p *DependencyGetDependenciesForTraceArgs) Write(oprot thrift.TProtocol) error
- type DependencyGetDependenciesForTraceResult
- func (p *DependencyGetDependenciesForTraceResult) GetSuccess() *Dependencies
- func (p *DependencyGetDependenciesForTraceResult) IsSetSuccess() bool
- func (p *DependencyGetDependenciesForTraceResult) Read(iprot thrift.TProtocol) error
- func (p *DependencyGetDependenciesForTraceResult) ReadField0(iprot thrift.TProtocol) error
- func (p *DependencyGetDependenciesForTraceResult) String() string
- func (p *DependencyGetDependenciesForTraceResult) Write(oprot thrift.TProtocol) error
- type DependencyLink
- func (p *DependencyLink) GetCallCount() int64
- func (p *DependencyLink) GetChild() string
- func (p *DependencyLink) GetParent() string
- func (p *DependencyLink) Read(iprot thrift.TProtocol) error
- func (p *DependencyLink) ReadField1(iprot thrift.TProtocol) error
- func (p *DependencyLink) ReadField2(iprot thrift.TProtocol) error
- func (p *DependencyLink) ReadField4(iprot thrift.TProtocol) error
- func (p *DependencyLink) String() string
- func (p *DependencyLink) Write(oprot thrift.TProtocol) error
- type DependencyProcessor
- func (p *DependencyProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *DependencyProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *DependencyProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *DependencyProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type DependencySaveDependenciesArgs
- func (p *DependencySaveDependenciesArgs) GetDependencies() *Dependencies
- func (p *DependencySaveDependenciesArgs) IsSetDependencies() bool
- func (p *DependencySaveDependenciesArgs) Read(iprot thrift.TProtocol) error
- func (p *DependencySaveDependenciesArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *DependencySaveDependenciesArgs) String() string
- func (p *DependencySaveDependenciesArgs) Write(oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct {
Links []*DependencyLink `thrift:"links,1,required" db:"links" json:"links"`
}
Attributes:
- Links
var DependencyGetDependenciesForTraceResult_Success_DEFAULT *Dependencies
var DependencySaveDependenciesArgs_Dependencies_DEFAULT *Dependencies
func NewDependencies ¶
func NewDependencies() *Dependencies
func (*Dependencies) GetLinks ¶
func (p *Dependencies) GetLinks() []*DependencyLink
func (*Dependencies) ReadField1 ¶
func (p *Dependencies) ReadField1(iprot thrift.TProtocol) error
func (*Dependencies) String ¶
func (p *Dependencies) String() string
type Dependency ¶
type Dependency interface { // Parameters: // - TraceId GetDependenciesForTrace(ctx context.Context, traceId string) (r *Dependencies, err error) // Parameters: // - Dependencies SaveDependencies(ctx context.Context, dependencies *Dependencies) (err error) }
type DependencyClient ¶
type DependencyClient struct {
// contains filtered or unexported fields
}
func NewDependencyClient ¶
func NewDependencyClient(c thrift.TClient) *DependencyClient
func NewDependencyClientFactory
deprecated
func NewDependencyClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *DependencyClient
Deprecated: Use NewDependency instead
func NewDependencyClientProtocol
deprecated
func NewDependencyClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *DependencyClient
Deprecated: Use NewDependency instead
func (*DependencyClient) GetDependenciesForTrace ¶
func (p *DependencyClient) GetDependenciesForTrace(ctx context.Context, traceId string) (r *Dependencies, err error)
Parameters:
- TraceId
func (*DependencyClient) SaveDependencies ¶
func (p *DependencyClient) SaveDependencies(ctx context.Context, dependencies *Dependencies) (err error)
Parameters:
- Dependencies
type DependencyGetDependenciesForTraceArgs ¶
type DependencyGetDependenciesForTraceArgs struct {
TraceId string `thrift:"traceId,1,required" db:"traceId" json:"traceId"`
}
Attributes:
- TraceId
func NewDependencyGetDependenciesForTraceArgs ¶
func NewDependencyGetDependenciesForTraceArgs() *DependencyGetDependenciesForTraceArgs
func (*DependencyGetDependenciesForTraceArgs) GetTraceId ¶
func (p *DependencyGetDependenciesForTraceArgs) GetTraceId() string
func (*DependencyGetDependenciesForTraceArgs) Read ¶
func (p *DependencyGetDependenciesForTraceArgs) Read(iprot thrift.TProtocol) error
func (*DependencyGetDependenciesForTraceArgs) ReadField1 ¶
func (p *DependencyGetDependenciesForTraceArgs) ReadField1(iprot thrift.TProtocol) error
func (*DependencyGetDependenciesForTraceArgs) String ¶
func (p *DependencyGetDependenciesForTraceArgs) String() string
type DependencyGetDependenciesForTraceResult ¶
type DependencyGetDependenciesForTraceResult struct {
Success *Dependencies `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewDependencyGetDependenciesForTraceResult ¶
func NewDependencyGetDependenciesForTraceResult() *DependencyGetDependenciesForTraceResult
func (*DependencyGetDependenciesForTraceResult) GetSuccess ¶
func (p *DependencyGetDependenciesForTraceResult) GetSuccess() *Dependencies
func (*DependencyGetDependenciesForTraceResult) IsSetSuccess ¶
func (p *DependencyGetDependenciesForTraceResult) IsSetSuccess() bool
func (*DependencyGetDependenciesForTraceResult) Read ¶
func (p *DependencyGetDependenciesForTraceResult) Read(iprot thrift.TProtocol) error
func (*DependencyGetDependenciesForTraceResult) ReadField0 ¶
func (p *DependencyGetDependenciesForTraceResult) ReadField0(iprot thrift.TProtocol) error
func (*DependencyGetDependenciesForTraceResult) String ¶
func (p *DependencyGetDependenciesForTraceResult) String() string
type DependencyLink ¶
type DependencyLink struct { Parent string `thrift:"parent,1,required" db:"parent" json:"parent"` Child string `thrift:"child,2,required" db:"child" json:"child"` // unused field # 3 CallCount int64 `thrift:"callCount,4,required" db:"callCount" json:"callCount"` }
Attributes:
- Parent
- Child
- CallCount
func NewDependencyLink ¶
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) ReadField1 ¶
func (p *DependencyLink) ReadField1(iprot thrift.TProtocol) error
func (*DependencyLink) ReadField2 ¶
func (p *DependencyLink) ReadField2(iprot thrift.TProtocol) error
func (*DependencyLink) ReadField4 ¶
func (p *DependencyLink) ReadField4(iprot thrift.TProtocol) error
func (*DependencyLink) String ¶
func (p *DependencyLink) String() string
type DependencyProcessor ¶
type DependencyProcessor struct {
// contains filtered or unexported fields
}
func NewDependencyProcessor ¶
func NewDependencyProcessor(handler Dependency) *DependencyProcessor
func (*DependencyProcessor) AddToProcessorMap ¶
func (p *DependencyProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*DependencyProcessor) GetProcessorFunction ¶
func (p *DependencyProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*DependencyProcessor) Process ¶
func (p *DependencyProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*DependencyProcessor) ProcessorMap ¶
func (p *DependencyProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type DependencySaveDependenciesArgs ¶
type DependencySaveDependenciesArgs struct {
Dependencies *Dependencies `thrift:"dependencies,1" db:"dependencies" json:"dependencies"`
}
Attributes:
- Dependencies
func NewDependencySaveDependenciesArgs ¶
func NewDependencySaveDependenciesArgs() *DependencySaveDependenciesArgs
func (*DependencySaveDependenciesArgs) GetDependencies ¶
func (p *DependencySaveDependenciesArgs) GetDependencies() *Dependencies
func (*DependencySaveDependenciesArgs) IsSetDependencies ¶
func (p *DependencySaveDependenciesArgs) IsSetDependencies() bool
func (*DependencySaveDependenciesArgs) Read ¶
func (p *DependencySaveDependenciesArgs) Read(iprot thrift.TProtocol) error
func (*DependencySaveDependenciesArgs) ReadField1 ¶
func (p *DependencySaveDependenciesArgs) ReadField1(iprot thrift.TProtocol) error
func (*DependencySaveDependenciesArgs) String ¶
func (p *DependencySaveDependenciesArgs) String() string
Click to show internal directories.
Click to hide internal directories.