package
0.0.0-20200630034751-590ca12ed7fe
Repository: https://github.com/fsn-dev/crosschain-bridge.git
Documentation: pkg.go.dev
# Functions
ArchiveVersion holds the textual version string used for Geth archives.
CheckConfig check config.
GetAPIPort get api service port.
GetConfig get config items structure.
GetIdentifier get identifier (to distiguish in dcrm accept).
GetServerDcrmUser get server dcrm user (initiator of dcrm sign).
LoadConfig load config.
SetConfig set config items.
SetDataDir set data dir.
VersionWithCommit add git commit and data to version.
# Constants
Major version component of the current release.
Version metadata to append to the version string.
Minor version component of the current release.
Patch version component of the current release.
# Variables
DataDir datadir.
ServerAPIAddress server api address.
Version holds the textual version string.
VersionWithMeta holds the textual version string including the metadata.
# Structs
APIServerConfig api service config.
DcrmConfig dcrm related config.
MongoDBConfig mongodb config.
OracleConfig oracle config.
ServerConfig config items (decode from toml file).