Documentation ¶
Overview ¶
Package thunderpb is a generated protocol buffer package.
It is generated from these files:
dependency.proto
It has these top-level messages:
Field SQLFilter ExpirationTime
Index ¶
- Variables
- type ExpirationTime
- func (*ExpirationTime) Descriptor() ([]byte, []int)
- func (m *ExpirationTime) GetTime() time.Time
- func (m *ExpirationTime) Marshal() (dAtA []byte, err error)
- func (m *ExpirationTime) MarshalTo(dAtA []byte) (int, error)
- func (*ExpirationTime) ProtoMessage()
- func (m *ExpirationTime) Reset()
- func (m *ExpirationTime) Size() (n int)
- func (m *ExpirationTime) String() string
- func (m *ExpirationTime) Unmarshal(dAtA []byte) error
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetBool() bool
- func (m *Field) GetBytes() []byte
- func (m *Field) GetFloat64() float64
- func (m *Field) GetInt() int64
- func (m *Field) GetKind() FieldKind
- func (m *Field) GetString_() string
- func (m *Field) GetTime() *time.Time
- func (m *Field) GetUint() uint64
- func (m *Field) GetValue() isField_Value
- func (m *Field) Marshal() (dAtA []byte, err error)
- func (m *Field) MarshalTo(dAtA []byte) (int, error)
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) Size() (n int)
- func (m *Field) String() string
- func (m *Field) Unmarshal(dAtA []byte) error
- func (*Field) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type FieldKind
- type Field_Bool
- type Field_Bytes
- type Field_Float64
- type Field_Int
- type Field_String_
- type Field_Time
- type Field_Uint
- type SQLFilter
- func (*SQLFilter) Descriptor() ([]byte, []int)
- func (m *SQLFilter) GetFields() map[string]*Field
- func (m *SQLFilter) GetTable() string
- func (m *SQLFilter) Marshal() (dAtA []byte, err error)
- func (m *SQLFilter) MarshalTo(dAtA []byte) (int, error)
- func (*SQLFilter) ProtoMessage()
- func (m *SQLFilter) Reset()
- func (m *SQLFilter) Size() (n int)
- func (m *SQLFilter) String() string
- func (m *SQLFilter) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthDependency = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDependency = fmt.Errorf("proto: integer overflow") )
View Source
var FieldKind_name = map[int32]string{
0: "Unknown",
1: "Null",
2: "Bool",
3: "Int",
4: "Uint",
5: "String",
6: "Bytes",
7: "Float64",
8: "Time",
}
View Source
var FieldKind_value = map[string]int32{
"Unknown": 0,
"Null": 1,
"Bool": 2,
"Int": 3,
"Uint": 4,
"String": 5,
"Bytes": 6,
"Float64": 7,
"Time": 8,
}
Functions ¶
This section is empty.
Types ¶
type ExpirationTime ¶
type ExpirationTime struct {
Time time.Time `protobuf:"bytes,1,opt,name=time,stdtime" json:"time"`
}
func (*ExpirationTime) Descriptor ¶
func (*ExpirationTime) Descriptor() ([]byte, []int)
func (*ExpirationTime) GetTime ¶
func (m *ExpirationTime) GetTime() time.Time
func (*ExpirationTime) Marshal ¶
func (m *ExpirationTime) Marshal() (dAtA []byte, err error)
func (*ExpirationTime) ProtoMessage ¶
func (*ExpirationTime) ProtoMessage()
func (*ExpirationTime) Reset ¶
func (m *ExpirationTime) Reset()
func (*ExpirationTime) Size ¶
func (m *ExpirationTime) Size() (n int)
func (*ExpirationTime) String ¶
func (m *ExpirationTime) String() string
func (*ExpirationTime) Unmarshal ¶
func (m *ExpirationTime) Unmarshal(dAtA []byte) error
type Field ¶
type Field struct { Kind FieldKind `protobuf:"varint,1,opt,name=kind,proto3,enum=thunderpb.FieldKind" json:"kind,omitempty"` // Types that are valid to be assigned to Value: // *Field_Bool // *Field_Int // *Field_Uint // *Field_String_ // *Field_Bytes // *Field_Float64 // *Field_Time Value isField_Value `protobuf_oneof:"value"` }
func (*Field) Descriptor ¶
func (*Field) GetFloat64 ¶
func (*Field) GetString_ ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
type Field_Bool ¶
type Field_Bool struct {
Bool bool `protobuf:"varint,2,opt,name=bool,proto3,oneof"`
}
func (*Field_Bool) Size ¶
func (m *Field_Bool) Size() (n int)
type Field_Bytes ¶
type Field_Bytes struct {
Bytes []byte `protobuf:"bytes,6,opt,name=bytes,proto3,oneof"`
}
func (*Field_Bytes) Size ¶
func (m *Field_Bytes) Size() (n int)
type Field_Float64 ¶
type Field_Float64 struct {
Float64 float64 `protobuf:"fixed64,7,opt,name=float64,proto3,oneof"`
}
func (*Field_Float64) Size ¶
func (m *Field_Float64) Size() (n int)
type Field_Int ¶
type Field_Int struct {
Int int64 `protobuf:"zigzag64,3,opt,name=int,proto3,oneof"`
}
type Field_String_ ¶
type Field_String_ struct {
String_ string `protobuf:"bytes,5,opt,name=string,proto3,oneof"`
}
func (*Field_String_) Size ¶
func (m *Field_String_) Size() (n int)
type Field_Time ¶
func (*Field_Time) Size ¶
func (m *Field_Time) Size() (n int)
type Field_Uint ¶
type Field_Uint struct {
Uint uint64 `protobuf:"varint,4,opt,name=uint,proto3,oneof"`
}
func (*Field_Uint) Size ¶
func (m *Field_Uint) Size() (n int)
type SQLFilter ¶
type SQLFilter struct { Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` // Map of column name to field value. Fields map[string]*Field `` /* 139-byte string literal not displayed */ }
func (*SQLFilter) Descriptor ¶
func (*SQLFilter) ProtoMessage ¶
func (*SQLFilter) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.