Documentation ¶
Index ¶
- Variables
- type Action
- type Auction
- type AuctionID
- type Auctioner
- type Bid
- type BidID
- type Deal
- type Dealer
- type Dealership
- type Duration
- type LicenseID
- type Lister
- type Mode
- type Order
- type OrderID
- type Reason
- type Response
- type Sector
- type Stamp
- type Status
- type Statuser
- type Stock
- type SumLen
- type Summary
- type Symbol
- type Timer
- type Trade
- type TradeStatus
- type TraderCfg
Constants ¶
This section is empty.
Variables ¶
View Source
var NoPermission = errors.New("Permission denied")
View Source
var NoSuchEntity = errors.New("No such entity")
View Source
var NotTrading = errors.New("Trading currently prohibited")
View Source
var UnqualifiedAsker = errors.New("Asker is unqualified")
View Source
var UnqualifiedBidder = errors.New("Bidder is unqualified")
Functions ¶
This section is empty.
Types ¶
type Auction ¶
type Dealership ¶
type Reason ¶
type Reason uint
const ( R_OK Reason = 0 R_NONE Reason = iota + 1 R_NOT_TRADING // Default cop-out R_PROHIBITED // I can't sell what I have, period. R_RESTRICTED // I can't sell what I have TO YOU. R_PRICE_LOW // Probably not issued when buying. R_PRICE_HIGH // Probably not for selling either. R_UNACCEPTABLE // Like ^ but more vauge. Try changing something and get back to me. R_CANT_PAY // I can not pay )
type TradeStatus ¶
type TradeStatus uint
const ( TS_UNKNOWN TradeStatus = iota // I know nothing of this item. TS_SUBMITTED // I posted this item. TS_ACKNOWLEDGED // I have won the bid, or finalized the deal; and am committed to paying. TS_PAID // I have paid or transfered the assets. TS_RECIEVED // I have recieved payment. TS_CLOSED // I have completed this interaction successfully. TS_ABORTED // I broke off this interaction. TS_ERROR_ME // I have made some error. TS_ERROR_YOU // The other party has made some error. TS_ROLLBACK // I have attempted to repair my error. TS_FAULT_ME // I can not complete this transaction. TS_FAULT_YOU // The other party can not complete this transaction. )
func (TradeStatus) String ¶
func (i TradeStatus) String() string
Click to show internal directories.
Click to hide internal directories.