sessionsv2

package
v0.0.0-...-3bd2bae Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetAgent

func (x *Session) GetAgent() string

func (*Session) GetCreatedAt

func (x *Session) GetCreatedAt() *timestamppb.Timestamp

func (*Session) GetExpiresAt

func (x *Session) GetExpiresAt() *timestamppb.Timestamp

func (*Session) GetId

func (x *Session) GetId() string

func (*Session) GetIp

func (x *Session) GetIp() string

func (*Session) GetKey

func (x *Session) GetKey() string

func (*Session) GetMessage

func (x *Session) GetMessage() string

func (*Session) GetOtp

func (x *Session) GetOtp() string

func (*Session) GetValue

func (x *Session) GetValue() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

Jump to

Keyboard shortcuts

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