options

package
v0.0.0-...-982817c Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AsOptions = &ApiServerOptions{
	Port: 5000,
}
View Source
var EsOptions = &EtherScanOptions{
	BaseURL: "https://api.etherscan.io/api?",
}

Functions

This section is empty.

Types

type ApiServerOptions

type ApiServerOptions struct {
	Port int
}

type EtherScanOptions

type EtherScanOptions struct {
	ApiKey  string
	BaseURL string
}

type OptionsInitor

type OptionsInitor struct {
	ApiOptions       *ApiServerOptions
	EtherscanOptions *EtherScanOptions
}

func (*OptionsInitor) Init

func (initor *OptionsInitor) Init() error

Jump to

Keyboard shortcuts

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