Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrStreamNotFound = fmt.Errorf("Stream not found")
)
View Source
var (
ErrTypeIssue = fmt.Errorf("Type issue")
)
Functions ¶
func LoadConfig ¶
Types ¶
type Config ¶
type Entity ¶
type GobDownStream ¶
type GobDownStream struct {
// contains filtered or unexported fields
}
func (*GobDownStream) Close ¶
func (gs *GobDownStream) Close() error
func (*GobDownStream) Init ¶
func (gs *GobDownStream) Init(config map[string]interface{}, service *Service) error
func (*GobDownStream) Serve ¶
func (gs *GobDownStream) Serve() error
func (*GobDownStream) Write ¶
func (gs *GobDownStream) Write(e Entity) error
type GobUpStream ¶
type GobUpStream struct {
// contains filtered or unexported fields
}
func (*GobUpStream) Close ¶
func (gs *GobUpStream) Close() error
func (*GobUpStream) Init ¶
func (gs *GobUpStream) Init(config map[string]interface{}, service *Service) error
func (*GobUpStream) Serve ¶
func (gs *GobUpStream) Serve() error
func (*GobUpStream) Write ¶
func (gs *GobUpStream) Write(e Entity) error
type HttpStream ¶
type HttpStream struct {
// contains filtered or unexported fields
}
func (*HttpStream) Close ¶
func (hs *HttpStream) Close() error
func (*HttpStream) Init ¶
func (hs *HttpStream) Init(config map[string]interface{}, service *Service) error
func (*HttpStream) Serve ¶
func (hs *HttpStream) Serve() error
func (*HttpStream) Write ¶
func (hs *HttpStream) Write(e Entity) error
Click to show internal directories.
Click to hide internal directories.