Documentation ¶
Index ¶
Constants ¶
View Source
const BookIdentifiableType = "record_book"
View Source
const EffectIdentifiableType = "effect"
View Source
const ItemIdentifiableType = "item"
View Source
const LedgerIdentifiableType = "ledger"
View Source
const NotificationIdentifiableType = "notification"
View Source
const PortIdentifiableType = "portfolio"
View Source
const RecordIdentifiableType = "record_entry"
View Source
const StockIdentifiableType = "stock"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveBuyRecord ¶
type Book ¶
type Book struct { Uuid string `json:"uuid"` LedgerUuid string `json:"ledger_uuid"` PortfolioUuid string `json:"portfolio_uuid"` ActiveRecords []ActiveBuyRecord `json:"active_records" change:"-"` }
type Effect ¶
type Effect struct { PortfolioUuid string `json:"portfolio_uuid"` Uuid string `json:"uuid"` Title string `json:"title" change:"-"` Duration utils.Duration `json:"duration"` StartTime time.Time `json:"time"` Type string `json:"type"` InnerEffect interface{} `json:"-" change:"inner"` Tag string `json:"tag"` }
type Item ¶
type Ledger ¶
type Notification ¶
type Notification struct { Uuid string `json:"uuid"` PortfolioUuid string `json:"portfolio_uuid"` Timestamp time.Time `json:"time"` Type string `json:"type"` Notification interface{} `json:"notification"` Seen bool `json:"seen"` }
func (Notification) GetId ¶
func (note Notification) GetId() string
func (Notification) GetType ¶
func (Notification) GetType() string
type Portfolio ¶
type Record ¶
type Stock ¶
type User ¶
type User struct { UserName string `json:"-"` Password string `json:"-"` DisplayName string `json:"display_name" change:"-"` Uuid string `json:"-"` PortfolioId string `json:"portfolio_uuid"` Active bool `json:"active" change:"-"` Config map[string]interface{} `json:"-"` ConfigStr string `json:"-"` ActiveClients int64 `json:"-"` }
Click to show internal directories.
Click to hide internal directories.