base

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: GPL-3.0 Imports: 4 Imported by: 45

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IApplication

type IApplication interface {
	Use() error
}

type IEnum

type IEnum interface {
	SetValue(value IEnumValue) error
	SetValueFast(value IEnumValue)
	GetValue() IEnumValue
	Scan(src any) error
	Value() (driver.Value, error)
	ToString() string
	AsByte() byte
	AsInt() int
	UnmarshalJSON(data []byte) error
	MarshalJSON() ([]byte, error)
}

type IEnumValue

type IEnumValue interface {
	Scan(src any) error
	Value() (driver.Value, error)
	ToString() string
	RawValue() byte
	AsByte() byte
	AsInt() int
	UnmarshalJSON(data []byte) error
	MarshalJSON() ([]byte, error)
}

type IScannable

type IScannable interface {
	Scan(dest ...any) error
}

type IScannableSequence

type IScannableSequence interface {
	IScannable
	Next() bool // = HasNextValue()
}

type IServer

type IServer interface {
	Start() error
	ReportStart()
	Stop() error
	GetStopChannel() *chan bool
	UseConstructor(ISettings) (IServer, error)
	GetSubRoutinesWG() *sync.WaitGroup
	GetMustStopAB() *atomic.Bool
}

type ISettings

type ISettings interface {
	Check() error
	UseConstructor(string, *ver.Versioneer) (ISettings, error)
}

type IToString

type IToString interface {
	ToString() string
}

Jump to

Keyboard shortcuts

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