Documentation ¶
Index ¶
Constants ¶
View Source
const ( HistorySize = 100 SubChannelSize = 250 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GadgetStream ¶
type GadgetStream struct {
// contains filtered or unexported fields
}
func NewGadgetStream ¶
func NewGadgetStream() *GadgetStream
func (*GadgetStream) Close ¶
func (g *GadgetStream) Close()
func (*GadgetStream) Publish ¶
func (g *GadgetStream) Publish(line string)
func (*GadgetStream) Subscribe ¶
func (g *GadgetStream) Subscribe() chan Record
func (*GadgetStream) Unsubscribe ¶
func (g *GadgetStream) Unsubscribe(ch chan Record)
Click to show internal directories.
Click to hide internal directories.