facade

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregator

type Aggregator struct {
}

aggregator

func (*Aggregator) Process

func (a *Aggregator) Process(data string)

type DataHandler

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

func NewDataHandler

func NewDataHandler() *DataHandler

func (*DataHandler) Aggregate

func (dh *DataHandler) Aggregate(data string)

func (*DataHandler) Decode

func (dh *DataHandler) Decode(data string)

func (*DataHandler) Encode

func (dh *DataHandler) Encode(data string)

type Decoder

type Decoder struct {
}

decoder

func (*Decoder) Process

func (d *Decoder) Process(data string)

type Encoder

type Encoder struct {
}

encoder

func (*Encoder) Process

func (e *Encoder) Process(data string)

type IDataProcessor

type IDataProcessor interface {
	Process(string)
}

外观模式 数据处理器接口

Jump to

Keyboard shortcuts

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