cmd

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Main = gcmd.Command{
		Name:  "main",
		Usage: "main",
		Brief: "start http server",
		Func: func(ctx context.Context, parser *gcmd.Parser) (err error) {
			glog.Info(context.Background(), "Hello")
			return nil
		},
	}
)

Functions

func Start

func Start(ctx context.Context)

Types

type ContractConfig

type ContractConfig struct {
	Name       string     `json:"name" gencodec:"required"`
	Check      bool       `json:"check" gencodec:"required"`
	Address    []string   `json:"address" gencodec:"required"`
	Topics     [][]string `json:"topics" gencodec:"required"`
	AddressObj []common.Address
	TopicsObj  [][]common.Hash
}

Jump to

Keyboard shortcuts

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