Documentation ¶
Index ¶
Constants ¶
View Source
const ( JobTypeFluxMonitor = "fluxmonitor" JobTypeOffchainReporting = "offchainreporting" )
We only support OCR and FM for the feeds manager
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeedsManager ¶
type FeedsManager struct { ID int32 Name string URI string PublicKey PublicKey JobTypes pq.StringArray `gorm:"type:text[]"` Network string CreatedAt time.Time UpdatedAt time.Time }
func (FeedsManager) TableName ¶
func (FeedsManager) TableName() string
type PublicKey ¶ added in v0.0.3
type PublicKey []byte
PublicKey defines a type which can be used for JSON and SQL.
func PublicKeyFromHex ¶ added in v0.0.3
PublicKeyFromHex generates a public key from a hex string
func (PublicKey) MarshalJSON ¶ added in v0.0.3
func (*PublicKey) UnmarshalJSON ¶ added in v0.0.3
type Service ¶
type Service interface { CountManagers() (int64, error) GetManager(id int32) (*FeedsManager, error) ListManagers() ([]FeedsManager, error) RegisterManager(ms *FeedsManager) (int32, error) }
Click to show internal directories.
Click to hide internal directories.