package
Version:
v0.2.16-beta.0
Opens a new window with list of versions in this module.
Published: Jun 10, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Add(db sql.Executor, ref, poet, serviceID []byte, roundID string) error
-
func Get(db sql.Executor, ref []byte) (poet []byte, err error)
-
func GetRef(db sql.Executor, poetID []byte, roundID string) (ref []byte, err error)
-
func Has(db sql.Executor, ref []byte) (bool, error)
Add adds a poet for a given ref.
Get gets a PoET for a given ref.
GetRef gets a PoET ref for a given service ID and round ID.
Has checks if a PoET exists by the given ref.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.