Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Grant ¶
type Grant struct { Id string `storm:"id"` Account string `storm:"index"` HostnamePattern string User string ExpiredAt int64 CreatedAt int64 }
func (Grant) ToGRPCGrant ¶
type Key ¶
type MasterKey ¶
func (MasterKey) ToGRPCModel ¶
type Node ¶
type Node struct { Hostname string `storm:"id"` User string Address string Source string `storm:"index"` CreatedAt int64 IsKeyManaged bool ViewedAt int64 }
Node server model
func (Node) ToGRPCNode ¶
type Session ¶
type Session struct { Id int64 `storm:"id,increment"` Account string `storm:"index"` Command string CreatedAt int64 FinishedAt int64 IsRecorded bool }
func (Session) ToGRPCSession ¶
type Token ¶
type Token struct { Id int64 `storm:"id,increment"` Token string `storm:"unique"` Account string `storm:"index"` Description string CreatedAt int64 ViewedAt int64 }
func (Token) ToGRPCToken ¶
func (Token) ToGRPCTokenSecure ¶
Click to show internal directories.
Click to hide internal directories.