cthun

package module
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 10 Imported by: 1

README

GitHub release (latest SemVer) GitHub Test Go Report Card codecov

cthun

A tool for maintaining goldengate

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ExecCMD

func ExecCMD(c string) (string, error)

func GetGGAllOps added in v1.2.2

func GetGGAllOps(o Operater) map[string]float64

func GetGGDatSize added in v1.1.2

func GetGGDatSize(s Sizer) (int, error)

func GetGGLag added in v1.2.1

func GetGGLag(l Lager) (map[string]int, map[string]int)

func SearchGG added in v1.1.2

func SearchGG(s Searcher, k string) []string

func SetupGG added in v1.1.2

func SetupGG(s Setuper)

Types

type ClassicGG added in v1.1.2

type ClassicGG struct {
	Home string
	// contains filtered or unexported fields
}

func (ClassicGG) GetAllLag added in v1.2.0

func (gg ClassicGG) GetAllLag() (map[string]int, map[string]int)

func (ClassicGG) GetDatSize added in v1.1.2

func (i ClassicGG) GetDatSize() (int, error)

func (ClassicGG) Search added in v1.1.2

func (i ClassicGG) Search(keyword string) []string

func (*ClassicGG) Setup added in v1.1.2

func (i *ClassicGG) Setup() error

func (*ClassicGG) SetupLag added in v1.2.3

func (g *ClassicGG) SetupLag() error

type Lager added in v1.1.2

type Lager interface {
	SetupLag() error
	GetAllLag() (map[string]int, map[string]int)
}

type Operater added in v1.2.2

type Operater interface {
	GeAllOps() map[string]float64
}

type Searcher added in v1.1.2

type Searcher interface {
	Search(keyword string) []string
}

type Setuper added in v1.1.2

type Setuper interface {
	Setup() error
}

type Sizer added in v1.1.2

type Sizer interface {
	GetDatSize() (int, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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