api

package
v0.0.0-...-7b2af25 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ChainRegistryAPIURL string `yaml:"chain_registry_api_url"`
	ChainRegistryRawURL string `yaml:"chain_registry_raw_url"`
	CoingeckoURL        string `yaml:"coingecko_url"`
}

func DefaultAPIConfig

func DefaultAPIConfig() Config

DefaultAPIConfig returns default APIConfig instance

func NewAPIConfig

func NewAPIConfig(chainRegistryAPIURL, chainRegistryRawURL, coingeckoURL string) Config

NewAPIConfig creates new APIConfig instance

Jump to

Keyboard shortcuts

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