http_reporter

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 7 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, buf []byte, reason string, eventID string) 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