basictransistor

package
v0.0.0-...-1472157 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmdPing = "ping"
)

Variables

View Source
var (
	ErrNotFound        = errors.New("the command doesn't exist")
	ErrInvalidArgument = errors.New("invalid argument")
	ErrUnavailable     = errors.New("unavailable")
)

Functions

func NewBasicCore

func NewBasicCore(com Component, opt Option) transistor.Transistor

Types

type Component

type Component struct {
	Collector collector.Collector
	Base      base.Base
	Emitter   emitter.Emitter
}

type Option

type Option struct {
}

Jump to

Keyboard shortcuts

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