http_reporter

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReporter

func NewReporter(token string, url string) holmes.ProfileReporter

Types

type HttpReporter

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

func (*HttpReporter) Report

func (r *HttpReporter) Report(ptype string, filename string, reason holmes.ReasonType, eventID string, tt time.Time, bts []byte, scene holmes.Scene) error

type Response

type Response struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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