Documentation
¶
Index ¶
- Variables
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetAgent() string
- func (x *Session) GetCreatedAt() *timestamppb.Timestamp
- func (x *Session) GetExpiresAt() *timestamppb.Timestamp
- func (x *Session) GetId() string
- func (x *Session) GetIp() string
- func (x *Session) GetKey() string
- func (x *Session) GetMessage() string
- func (x *Session) GetOtp() string
- func (x *Session) GetValue() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_mediawatch_sessions_v2_session_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" bson:"_id,omitempty"` // creation datetime in RFC3339 format CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at,omitempty"` // update datetime in RFC3339 format ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty" bson:"expires_at,omitempty"` // key to check against Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // assign value Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // assign message Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` // client's agent Agent string `protobuf:"bytes,7,opt,name=agent,proto3" json:"-"` // client's ip Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"-"` // one time password Otp string `protobuf:"bytes,9,opt,name=otp,proto3" json:"otp,omitempty" bson:"otp,omitempty"` // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetCreatedAt ¶
func (x *Session) GetCreatedAt() *timestamppb.Timestamp
func (*Session) GetExpiresAt ¶
func (x *Session) GetExpiresAt() *timestamppb.Timestamp
func (*Session) GetMessage ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.