fe_law

package module
v0.0.0-...-d9430aa Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(gitVersion string) func(ctx *cli.Context) error

Types

type Config

type Config struct {
	GwwAddressConfig     *law.GiantWhaleWalletAddress
	NftCollectionsConfig *law.NftCollections
	SingleNftConfig      *law.SingleNft
	RpcHost              string
	RpcPort              uint64
	MetricsServerEnable  bool
	MetricsHostname      string
	MetricsPort          uint64
	LogLevel             string
	LogTerminal          bool
}

func NewConfig

func NewConfig(ctx *cli.Context) (Config, error)

type Law

type Law struct {
	// contains filtered or unexported fields
}

func NewLaw

func NewLaw(cfg Config) (*Law, error)

func (Law) Start

func (l Law) Start() error

func (Law) Stop

func (l Law) Stop()

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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