pkg

package
v0.0.0-...-fc7dab2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App interface {
	RootDir() string
	Db() Db
	WithDb(Db)
	Job() job.Job
}

type AppNode

type AppNode interface {
	App
	Node() Node
	ServiceDb() Db
	InitServiceDb(node Node) error
}

type CliParser

type CliParser interface {
	Data() interface{}
	Run() error
	CurrentCmd() (string, bool)
	OptionValue(string) (interface{}, bool)
	GetCmdOptions(cmdName string) (interface{}, error)
}

type Db

type Db interface {
	Handle() *gorm.DB
	Backup()
}

type Dbal

type Dbal interface {
	Db() Db
}

type Node

type Node interface {
	Id() uint
	ExternalId() i.NodeId
	EncKey() []byte
	EncEnabled() bool
	LoadBalancerWeight() int
}

type NodeManager

type NodeManager interface {
}

type ServiceNodeManager

type ServiceNodeManager interface {
	NodeManager
	InquiryHub() Node
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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