Documentation ¶
Index ¶
- func ReadAll(embeddedModels embed.FS, modelNames []string) map[string]*bytes.Reader
- type Unmarshaler
- func (u *Unmarshaler) UnmarshalDataSourceConfig(r io.Reader) (*vegapb.Future, error)
- func (u *Unmarshaler) UnmarshalFeesConfig(r io.Reader) (*vegapb.Fees, error)
- func (u *Unmarshaler) UnmarshalLiquidityMonitoring(r io.Reader) (*vegapb.LiquidityMonitoringParameters, error)
- func (u *Unmarshaler) UnmarshalLliquiditySLAParams(r io.Reader) (*vegapb.LiquiditySLAParameters, error)
- func (u *Unmarshaler) UnmarshalMarginCalculator(r io.Reader) (*vegapb.MarginCalculator, error)
- func (u *Unmarshaler) UnmarshalPerpsDataSourceConfig(r io.Reader) (*vegapb.Perpetual, error)
- func (u *Unmarshaler) UnmarshalPriceMonitoring(r io.Reader) (*vegapb.PriceMonitoringSettings, error)
- func (u *Unmarshaler) UnmarshalRiskModel(r io.Reader) (*vegapb.TradableInstrument, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Unmarshaler ¶
type Unmarshaler struct {
// contains filtered or unexported fields
}
func NewUnmarshaler ¶
func NewUnmarshaler() *Unmarshaler
func (*Unmarshaler) UnmarshalDataSourceConfig ¶ added in v0.61.0
UnmarshalDataSourceConfig unmarshal a future as this is a common parent.
func (*Unmarshaler) UnmarshalFeesConfig ¶
func (*Unmarshaler) UnmarshalLiquidityMonitoring ¶ added in v0.57.0
func (u *Unmarshaler) UnmarshalLiquidityMonitoring(r io.Reader) (*vegapb.LiquidityMonitoringParameters, error)
func (*Unmarshaler) UnmarshalLliquiditySLAParams ¶
func (u *Unmarshaler) UnmarshalLliquiditySLAParams(r io.Reader) (*vegapb.LiquiditySLAParameters, error)
func (*Unmarshaler) UnmarshalMarginCalculator ¶
func (u *Unmarshaler) UnmarshalMarginCalculator(r io.Reader) (*vegapb.MarginCalculator, error)
func (*Unmarshaler) UnmarshalPerpsDataSourceConfig ¶ added in v0.73.0
func (*Unmarshaler) UnmarshalPriceMonitoring ¶
func (u *Unmarshaler) UnmarshalPriceMonitoring(r io.Reader) (*vegapb.PriceMonitoringSettings, error)
func (*Unmarshaler) UnmarshalRiskModel ¶
func (u *Unmarshaler) UnmarshalRiskModel(r io.Reader) (*vegapb.TradableInstrument, error)
UnmarshalRiskModel unmarshal a tradable instrument instead of a risk model since gRPC implementation of risk models can't be used with jsonpb.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.