Documentation ¶
Index ¶
- func MarshalBinary(e *session.Session) ([]byte, error)
- func SessionProto2Session(sessionProto *Session) (s *session.Session)
- func UnmarshalBinary(data []byte) (*session.Session, error)
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (m *Session) GetAccountSettings() *account.AccountSettings
- func (m *Session) GetID() string
- func (m *Session) GetJwtClaims() *jwt.Claims
- func (m *Session) GetUser() *user.User
- func (e *Session) MarshalBinary() (data []byte, err error)
- func (*Session) ProtoMessage()
- func (m *Session) Reset()
- func (m *Session) String() string
- func (e *Session) UnmarshalBinary(data []byte) (err error)
- func (m *Session) XXX_DiscardUnknown()
- func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Session) XXX_Merge(src proto.Message)
- func (m *Session) XXX_Size() int
- func (m *Session) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SessionProto2Session ¶
Types ¶
type Session ¶
type Session struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` AccountSettings *account.AccountSettings `protobuf:"bytes,2,opt,name=AccountSettings,proto3" json:"AccountSettings,omitempty"` JwtClaims *jwt.Claims `protobuf:"bytes,3,opt,name=JwtClaims,proto3" json:"JwtClaims,omitempty"` User *user.User `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func Session2SessionProto ¶
func (*Session) Descriptor ¶
func (*Session) GetAccountSettings ¶
func (m *Session) GetAccountSettings() *account.AccountSettings
func (*Session) GetJwtClaims ¶
func (*Session) MarshalBinary ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) UnmarshalBinary ¶
func (*Session) XXX_DiscardUnknown ¶
func (m *Session) XXX_DiscardUnknown()
func (*Session) XXX_Marshal ¶
func (*Session) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.