utils

package
v0.0.0-...-a41a74f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadProviderMetadata

func DownloadProviderMetadata(metadataUrl string, retries, maxBytes int) (*sentinel.Metadata, error)

func IsNearEqual

func IsNearEqual(a, b, epsilon float64) bool

func ParseContractType

func ParseContractType(contractTypeStr string) (types.ContractType, error)

func ParseCoordinates

func ParseCoordinates(coordinates string) (types.Coordinates, error)

func ValidateService

func ValidateService(service string) (ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL