session_pb

package
v0.0.0-...-07b0db4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Session_Status_name = map[int32]string{
		0: "ACTIVATED",
		1: "NOT_CONFIRMED",
		2: "EXPIRED",
		3: "CANCELED",
	}
	Session_Status_value = map[string]int32{
		"ACTIVATED":     0,
		"NOT_CONFIRMED": 1,
		"EXPIRED":       2,
		"CANCELED":      3,
	}
)

Enum value maps for Session_Status.

View Source
var File_biconom_type_session_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Session

type Session struct {
	Value    *Session_Value    `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	StatusId Session_Status    `protobuf:"varint,2,opt,name=status_id,json=statusId,proto3,enum=biconom.type.Session_Status" json:"status_id,omitempty"`
	Metadata *Session_Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetMetadata

func (x *Session) GetMetadata() *Session_Metadata

func (*Session) GetStatusId

func (x *Session) GetStatusId() Session_Status

func (*Session) GetValue

func (x *Session) GetValue() *Session_Value

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

type Session_Metadata

type Session_Metadata struct {
	Ip    string       `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Agent *agent.Agent `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
	// contains filtered or unexported fields
}

func (*Session_Metadata) Descriptor deprecated

func (*Session_Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Session_Metadata.ProtoReflect.Descriptor instead.

func (*Session_Metadata) GetAgent

func (x *Session_Metadata) GetAgent() *agent.Agent

func (*Session_Metadata) GetIp

func (x *Session_Metadata) GetIp() string

func (*Session_Metadata) ProtoMessage

func (*Session_Metadata) ProtoMessage()

func (*Session_Metadata) ProtoReflect

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

func (*Session_Metadata) Reset

func (x *Session_Metadata) Reset()

func (*Session_Metadata) String

func (x *Session_Metadata) String() string

type Session_Status

type Session_Status int32
const (
	Session_ACTIVATED     Session_Status = 0
	Session_NOT_CONFIRMED Session_Status = 1
	Session_EXPIRED       Session_Status = 2
	Session_CANCELED      Session_Status = 3
)

func (Session_Status) Descriptor

func (Session_Status) Enum

func (x Session_Status) Enum() *Session_Status

func (Session_Status) EnumDescriptor deprecated

func (Session_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Session_Status.Descriptor instead.

func (Session_Status) Number

func (Session_Status) String

func (x Session_Status) String() string

func (Session_Status) Type

type Session_Value

type Session_Value struct {
	AccountId uint32 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	SessionId uint32 `protobuf:"varint,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	CreatedAt int64  `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	ExpiresAt int64  `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Session_Value) Descriptor deprecated

func (*Session_Value) Descriptor() ([]byte, []int)

Deprecated: Use Session_Value.ProtoReflect.Descriptor instead.

func (*Session_Value) GetAccountId

func (x *Session_Value) GetAccountId() uint32

func (*Session_Value) GetCreatedAt

func (x *Session_Value) GetCreatedAt() int64

func (*Session_Value) GetExpiresAt

func (x *Session_Value) GetExpiresAt() int64

func (*Session_Value) GetSessionId

func (x *Session_Value) GetSessionId() uint32

func (*Session_Value) ProtoMessage

func (*Session_Value) ProtoMessage()

func (*Session_Value) ProtoReflect

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

func (*Session_Value) Reset

func (x *Session_Value) Reset()

func (*Session_Value) String

func (x *Session_Value) String() string

Jump to

Keyboard shortcuts

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