fe_service

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: 11 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 {
	LoopInterval        time.Duration
	DbUsername          string
	DbPassword          string
	DbHost              string
	DbPort              uint64
	DbName              string
	ApiServicePort      uint64
	RpcHost             string
	RpcPort             uint64
	IndexerSocket       string
	LawSocket           string
	ScrapySocket        string
	EchoDebug           bool
	MetricsServerEnable bool
	MetricsHostname     string
	MetricsPort         uint64
	LogLevel            string
	LogTerminal         bool
}

func NewConfig

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

type FeService

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

func NewFeService

func NewFeService(cfg Config) (*FeService, error)

func (*FeService) Start

func (fs *FeService) Start() error

func (*FeService) Stop

func (fs *FeService) Stop()

Directories

Path Synopsis
cmd
services

Jump to

Keyboard shortcuts

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