Documentation
¶
Index ¶
Constants ¶
View Source
const ( InboundSubject = chanPrefix + "Inbound" StackListSubject = chanPrefix + "Stack.List" StackServiceHistorySubject = chanPrefix + "Stack.ServiceHistory" )
Variables ¶
View Source
var ( ErrAddProcessInfo = errors.New("AddProcessInfo") ErrInternalError = errors.New("InternalError") )
Functions ¶
This section is empty.
Types ¶
type ProcessusGrabber ¶ added in v0.1.0
type ProcessusGrabber struct {
// contains filtered or unexported fields
}
func NewProcessusGrabber ¶ added in v0.1.0
func NewProcessusGrabber(ctx context.Context, interval time.Duration) *ProcessusGrabber
type StackListService ¶ added in v0.1.0
type StackListService struct {
Since time.Duration
Services []string
ProcessInfo []model.ProcessInfo
}
func (*StackListService) Decode ¶ added in v0.1.0
func (p *StackListService) Decode(data []byte) error
func (*StackListService) Encode ¶ added in v0.1.0
func (p *StackListService) Encode() ([]byte, error)
type StackServiceHistory ¶ added in v0.1.0
type StackServiceHistory struct {
AppName string
From time.Time
To time.Time
Step time.Duration
Round time.Duration
History []model.ProcessInfo
}
func (*StackServiceHistory) Decode ¶ added in v0.1.0
func (p *StackServiceHistory) Decode(data []byte) error
func (*StackServiceHistory) Encode ¶ added in v0.1.0
func (p *StackServiceHistory) Encode() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.