Documentation ¶
Index ¶
- type SpecConfiguration
- func (s SpecConfiguration) DeepClone() common.DataSourceType
- func (s SpecConfiguration) GetFilters() []*common.SpecFilter
- func (s *SpecConfiguration) IntoProto() *vegapb.DataSourceSpecConfiguration
- func (s SpecConfiguration) String() string
- func (s SpecConfiguration) ToDefinitionProto() (*vegapb.DataSourceDefinition, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpecConfiguration ¶
type SpecConfiguration struct { Signers []*common.Signer Filters []*common.SpecFilter }
SpecConfiguration is used only by Oracles without a type wrapper at the moment.
func SpecConfigurationFromProto ¶
func SpecConfigurationFromProto(protoConfig *vegapb.DataSourceSpecConfiguration) SpecConfiguration
SpecConfigurationFromProto tries to build the SpecConfiguration object from the given proto object.
func (SpecConfiguration) DeepClone ¶
func (s SpecConfiguration) DeepClone() common.DataSourceType
func (SpecConfiguration) GetFilters ¶
func (s SpecConfiguration) GetFilters() []*common.SpecFilter
func (*SpecConfiguration) IntoProto ¶
func (s *SpecConfiguration) IntoProto() *vegapb.DataSourceSpecConfiguration
IntoProto tries to build the proto object from SpecConfiguration.
func (SpecConfiguration) String ¶
func (s SpecConfiguration) String() string
String returns the content of DataSourceSpecConfiguration as a string.
func (SpecConfiguration) ToDefinitionProto ¶
func (s SpecConfiguration) ToDefinitionProto() (*vegapb.DataSourceDefinition, error)
Click to show internal directories.
Click to hide internal directories.