formatter

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFormatterFactory

func GetFormatterFactory(name string) (eosc.IFormatterFactory, bool)

func Register

func Register(name string, factory eosc.IFormatterFactory)

Types

type ITransport

type ITransport interface {
	Write([]byte) error
	Close() error
}

type Manager

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

func NewManager

func NewManager() *Manager

func (*Manager) Get

func (m *Manager) Get(name string) (eosc.IFormatterFactory, bool)

func (*Manager) Set

func (m *Manager) Set(name string, factory eosc.IFormatterFactory)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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