Documentation ¶ Index ¶ type Path func (p *Path) DecodeMtg(dec *mtgpack.Decoder) error func (p Path) EncodeMtg(enc *mtgpack.Encoder) error func (p Path) Share() decimal.Decimal func (p Path) String() string type Paths func Single(ids ...uint16) Paths func (p *Paths) DecodeMtg(dec *mtgpack.Decoder) error func (p Paths) EncodeMtg(enc *mtgpack.Encoder) error func (p Paths) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Path ¶ type Path struct { Weight uint8 `json:"weight,omitempty"` Pairs []uint16 `json:"pairs,omitempty"` } func (*Path) DecodeMtg ¶ func (p *Path) DecodeMtg(dec *mtgpack.Decoder) error func (Path) EncodeMtg ¶ func (p Path) EncodeMtg(enc *mtgpack.Encoder) error func (Path) Share ¶ func (p Path) Share() decimal.Decimal func (Path) String ¶ func (p Path) String() string type Paths ¶ type Paths []Path func Single ¶ func Single(ids ...uint16) Paths func (*Paths) DecodeMtg ¶ func (p *Paths) DecodeMtg(dec *mtgpack.Decoder) error func (Paths) EncodeMtg ¶ func (p Paths) EncodeMtg(enc *mtgpack.Encoder) error func (Paths) String ¶ func (p Paths) String() string Source Files ¶ View all Source files path.go Click to show internal directories. Click to hide internal directories.