Documentation
¶
Index ¶
- Variables
- type GoMethodOption
- func (*GoMethodOption) Descriptor() ([]byte, []int)deprecated
- func (x *GoMethodOption) GetName() string
- func (x *GoMethodOption) GetReturn() string
- func (*GoMethodOption) ProtoMessage()
- func (x *GoMethodOption) ProtoReflect() protoreflect.Message
- func (x *GoMethodOption) Reset()
- func (x *GoMethodOption) String() string
- type SQLOption
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetNanos() uint32
- func (x *Timestamp) GetSeconds() uint32
- func (x Timestamp) MarshalJSON() ([]byte, error)
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (x *Timestamp) Scan(src any) error
- func (x *Timestamp) String() string
- func (x *Timestamp) Time() time.Time
- func (x *Timestamp) UnmarshalJSON(content []byte) error
- func (x Timestamp) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // optional protox.GoMethodOption gomethod = 78901; E_Gomethod = &file_protox_proto_extTypes[0] // optional protox.SQLOption gosql = 78902; E_Gosql = &file_protox_proto_extTypes[1] )
Extension fields to descriptorpb.MessageOptions.
View Source
var (
// optional string gojson = 78902;
E_Gojson = &file_protox_proto_extTypes[2]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_protox_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GoMethodOption ¶
type GoMethodOption struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Return *string `protobuf:"bytes,2,opt,name=return,proto3,oneof" json:"return,omitempty"`
// contains filtered or unexported fields
}
func (*GoMethodOption) Descriptor
deprecated
func (*GoMethodOption) Descriptor() ([]byte, []int)
Deprecated: Use GoMethodOption.ProtoReflect.Descriptor instead.
func (*GoMethodOption) GetName ¶
func (x *GoMethodOption) GetName() string
func (*GoMethodOption) GetReturn ¶
func (x *GoMethodOption) GetReturn() string
func (*GoMethodOption) ProtoMessage ¶
func (*GoMethodOption) ProtoMessage()
func (*GoMethodOption) ProtoReflect ¶
func (x *GoMethodOption) ProtoReflect() protoreflect.Message
func (*GoMethodOption) Reset ¶
func (x *GoMethodOption) Reset()
func (*GoMethodOption) String ¶
func (x *GoMethodOption) String() string
type SQLOption ¶
type SQLOption struct {
Serializer *string `protobuf:"bytes,2,opt,name=serializer,proto3,oneof" json:"serializer,omitempty"`
// contains filtered or unexported fields
}
func (*SQLOption) Descriptor
deprecated
func (*SQLOption) GetSerializer ¶
func (*SQLOption) ProtoMessage ¶
func (*SQLOption) ProtoMessage()
func (*SQLOption) ProtoReflect ¶
func (x *SQLOption) ProtoReflect() protoreflect.Message
type Timestamp ¶
type Timestamp struct {
Seconds uint32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
Nanos uint32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
// contains filtered or unexported fields
}
func TimestampFromTime ¶
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (Timestamp) MarshalJSON ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
func (*Timestamp) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.