Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertError ¶
type AlertError interface {
error
BzError() BzError
AlertMessage() *AlertMessage
}
type AlertMessage ¶
type AlertMessage struct {
ProjectName string `json:"project_name,omitempty"`
JournalID string `json:"journal_id,omitempty"`
ErrorVerbose string `json:"error_verbose,omitempty"`
Meta *AlertMessageMeta `json:"meta,omitempty"`
Timestamp time.Time `json:"timestamp,omitempty"`
}
func (*AlertMessage) Marshal ¶
func (a *AlertMessage) Marshal() []byte
func (*AlertMessage) Unmarshal ¶
func (a *AlertMessage) Unmarshal(raw []byte) error
type AlertMessageMeta ¶
type NotifyHandler ¶
type NotifyHandler func(msg *AlertMessage)
type Payload ¶
type Payload interface {
JournalID() string
ForwardedByGrpcGateway() bool
Service() string
Date() string
Method() string
URI() string
Body() string
}
Payload rest or grpc payload
type SignatureHandler ¶
type UserinfoHandler ¶
type WhitelistingHandler ¶
Click to show internal directories.
Click to hide internal directories.