Documentation ¶
Index ¶
- Variables
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetTimestamp() *timestamp.Timestamp
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (ts *Timestamp) Scan(value interface{}) error
- func (x *Timestamp) String() string
- func (ts *Timestamp) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_storage_timestamp_v1_timestamp_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Timestamp ¶
type Timestamp struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Timestamp for storage messages. We've defined a new local type wrapper of google.protobuf.Timestamp so we can implement sql.Scanner and sql.Valuer interfaces. See: https://golang.org/pkg/database/sql/#Scanner https://golang.org/pkg/database/sql/driver/#Valuer
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetTimestamp ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.