Documentation ¶
Overview ¶
Package tgtrace is generated from gotd tracing schema.
Index ¶
- Constants
- func ClassConstructorsMap() map[string][]uint32
- func NamesMap() map[string]uint32
- func TypesConstructorMap() map[uint32]func() bin.Object
- func TypesMap() map[uint32]string
- type InvokeWithTraceRequest
- func (i *InvokeWithTraceRequest) Decode(b *bin.Buffer) error
- func (i *InvokeWithTraceRequest) DecodeBare(b *bin.Buffer) error
- func (i *InvokeWithTraceRequest) Encode(b *bin.Buffer) error
- func (i *InvokeWithTraceRequest) EncodeBare(b *bin.Buffer) error
- func (i *InvokeWithTraceRequest) GetBaggage() (value string, ok bool)
- func (i *InvokeWithTraceRequest) GetQuery() (value bin.Object)
- func (i *InvokeWithTraceRequest) GetTraceParent() (value string, ok bool)
- func (i *InvokeWithTraceRequest) GetTraceState() (value string, ok bool)
- func (i *InvokeWithTraceRequest) SetBaggage(value string)
- func (i *InvokeWithTraceRequest) SetFlags()
- func (i *InvokeWithTraceRequest) SetTraceParent(value string)
- func (i *InvokeWithTraceRequest) SetTraceState(value string)
- func (i *InvokeWithTraceRequest) String() string
- func (*InvokeWithTraceRequest) TypeID() uint32
- func (i *InvokeWithTraceRequest) TypeInfo() tdp.Type
- func (*InvokeWithTraceRequest) TypeName() string
- func (i *InvokeWithTraceRequest) Zero() bool
Constants ¶
const InvokeWithTraceRequestTypeID = 0x104be9ab
InvokeWithTraceRequestTypeID is TL type id of InvokeWithTraceRequest.
Variables ¶
This section is empty.
Functions ¶
func ClassConstructorsMap ¶
ClassConstructorsMap maps class schema name to constructors type ids.
func TypesConstructorMap ¶
TypesConstructorMap maps type ids to constructors.
Types ¶
type InvokeWithTraceRequest ¶
type InvokeWithTraceRequest struct { // Flags field of InvokeWithTraceRequest. Flags bin.Fields // TraceParent field of InvokeWithTraceRequest. // // Use SetTraceParent and GetTraceParent helpers. TraceParent string // TraceState field of InvokeWithTraceRequest. // // Use SetTraceState and GetTraceState helpers. TraceState string // Baggage field of InvokeWithTraceRequest. // // Use SetBaggage and GetBaggage helpers. Baggage string // Query field of InvokeWithTraceRequest. Query bin.Object }
InvokeWithTraceRequest represents TL type `invokeWithTrace#104be9ab`.
func (*InvokeWithTraceRequest) Decode ¶
func (i *InvokeWithTraceRequest) Decode(b *bin.Buffer) error
Decode implements bin.Decoder.
func (*InvokeWithTraceRequest) DecodeBare ¶
func (i *InvokeWithTraceRequest) DecodeBare(b *bin.Buffer) error
DecodeBare implements bin.BareDecoder.
func (*InvokeWithTraceRequest) Encode ¶
func (i *InvokeWithTraceRequest) Encode(b *bin.Buffer) error
Encode implements bin.Encoder.
func (*InvokeWithTraceRequest) EncodeBare ¶
func (i *InvokeWithTraceRequest) EncodeBare(b *bin.Buffer) error
EncodeBare implements bin.BareEncoder.
func (*InvokeWithTraceRequest) GetBaggage ¶
func (i *InvokeWithTraceRequest) GetBaggage() (value string, ok bool)
GetBaggage returns value of Baggage conditional field and boolean which is true if field was set.
func (*InvokeWithTraceRequest) GetQuery ¶
func (i *InvokeWithTraceRequest) GetQuery() (value bin.Object)
GetQuery returns value of Query field.
func (*InvokeWithTraceRequest) GetTraceParent ¶
func (i *InvokeWithTraceRequest) GetTraceParent() (value string, ok bool)
GetTraceParent returns value of TraceParent conditional field and boolean which is true if field was set.
func (*InvokeWithTraceRequest) GetTraceState ¶
func (i *InvokeWithTraceRequest) GetTraceState() (value string, ok bool)
GetTraceState returns value of TraceState conditional field and boolean which is true if field was set.
func (*InvokeWithTraceRequest) SetBaggage ¶
func (i *InvokeWithTraceRequest) SetBaggage(value string)
SetBaggage sets value of Baggage conditional field.
func (*InvokeWithTraceRequest) SetFlags ¶
func (i *InvokeWithTraceRequest) SetFlags()
SetFlags sets flags for non-zero fields.
func (*InvokeWithTraceRequest) SetTraceParent ¶
func (i *InvokeWithTraceRequest) SetTraceParent(value string)
SetTraceParent sets value of TraceParent conditional field.
func (*InvokeWithTraceRequest) SetTraceState ¶
func (i *InvokeWithTraceRequest) SetTraceState(value string)
SetTraceState sets value of TraceState conditional field.
func (*InvokeWithTraceRequest) String ¶
func (i *InvokeWithTraceRequest) String() string
String implements fmt.Stringer.
func (*InvokeWithTraceRequest) TypeID ¶
func (*InvokeWithTraceRequest) TypeID() uint32
TypeID returns type id in TL schema.
func (*InvokeWithTraceRequest) TypeInfo ¶
func (i *InvokeWithTraceRequest) TypeInfo() tdp.Type
TypeInfo returns info about TL type.
func (*InvokeWithTraceRequest) TypeName ¶
func (*InvokeWithTraceRequest) TypeName() string
TypeName returns name of type in TL schema.
func (*InvokeWithTraceRequest) Zero ¶
func (i *InvokeWithTraceRequest) Zero() bool