fudgepb

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_fudge_proto protoreflect.FileDescriptor

Functions

func FromProto

func FromProto(pb *Error) error

Types

type Error

type Error struct {
	Hops []*Hop `protobuf:"bytes,1,rep,name=hops,proto3" json:"hops,omitempty"`
	// contains filtered or unexported fields
}

func ToProto

func ToProto(err error) *Error

func (*Error) Descriptor deprecated

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetHops

func (x *Error) GetHops() []*Hop

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type Frame

type Frame struct {
	File      string      `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Function  string      `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"`
	Line      int32       `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
	Message   string      `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	KeyValues []*KeyValue `protobuf:"bytes,5,rep,name=key_values,json=keyValues,proto3" json:"key_values,omitempty"`
	// contains filtered or unexported fields
}

func (*Frame) Descriptor deprecated

func (*Frame) Descriptor() ([]byte, []int)

Deprecated: Use Frame.ProtoReflect.Descriptor instead.

func (*Frame) GetFile

func (x *Frame) GetFile() string

func (*Frame) GetFunction

func (x *Frame) GetFunction() string

func (*Frame) GetKeyValues

func (x *Frame) GetKeyValues() []*KeyValue

func (*Frame) GetLine

func (x *Frame) GetLine() int32

func (*Frame) GetMessage

func (x *Frame) GetMessage() string

func (*Frame) ProtoMessage

func (*Frame) ProtoMessage()

func (*Frame) ProtoReflect

func (x *Frame) ProtoReflect() protoreflect.Message

func (*Frame) Reset

func (x *Frame) Reset()

func (*Frame) String

func (x *Frame) String() string

type Hop

type Hop struct {
	Kind    int32    `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Binary  string   `protobuf:"bytes,2,opt,name=binary,proto3" json:"binary,omitempty"`
	Message string   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Code    string   `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	Trace   []*Frame `protobuf:"bytes,5,rep,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*Hop) Descriptor deprecated

func (*Hop) Descriptor() ([]byte, []int)

Deprecated: Use Hop.ProtoReflect.Descriptor instead.

func (*Hop) GetBinary

func (x *Hop) GetBinary() string

func (*Hop) GetCode

func (x *Hop) GetCode() string

func (*Hop) GetKind

func (x *Hop) GetKind() int32

func (*Hop) GetMessage

func (x *Hop) GetMessage() string

func (*Hop) GetTrace

func (x *Hop) GetTrace() []*Frame

func (*Hop) ProtoMessage

func (*Hop) ProtoMessage()

func (*Hop) ProtoReflect

func (x *Hop) ProtoReflect() protoreflect.Message

func (*Hop) Reset

func (x *Hop) Reset()

func (*Hop) String

func (x *Hop) String() string

type KeyValue

type KeyValue struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValue) Descriptor deprecated

func (*KeyValue) Descriptor() ([]byte, []int)

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect

func (x *KeyValue) ProtoReflect() protoreflect.Message

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) String

func (x *KeyValue) String() string

Jump to

Keyboard shortcuts

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