Documentation
¶
Index ¶
Constants ¶
View Source
const ( AddressPath = "https://raw.githubusercontent.com/tonkeeper/ton-assets/main/accounts.json" CollectionPath = "https://raw.githubusercontent.com/tonkeeper/ton-assets/main/collections.json" JettonPath = "https://raw.githubusercontent.com/tonkeeper/ton-assets/main/jettons.json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
API struct {
Port int `env:"PORT" envDefault:"8081"`
UnixSockets []string `env:"UNIX_SOCKETS" envSeparator:","`
}
App struct {
LogLevel string `env:"LOG_LEVEL" envDefault:"INFO"`
MetricsPort int `env:"METRICS_PORT" envDefault:"9010"`
Accounts accountsList `env:"ACCOUNTS"`
LiteServers []config.LiteServer `env:"LITE_SERVERS"`
SendingLiteservers []config.LiteServer `env:"SENDING_LITE_SERVERS"`
IsTestnet bool `env:"IS_TESTNET" envDefault:"false"`
}
TonConnect struct {
Secret string `env:"TON_CONNECT_SECRET"`
}
}
Click to show internal directories.
Click to hide internal directories.