share

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package share is here so we can keep website cruft out of the logs package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(msg string)

Log sends an error message to the website.

func Setup

func Setup(website Website)

func StopLogs added in v0.4.0

func StopLogs()

Types

type Match added in v0.4.1

type Match struct {
	File    string   `json:"file"`
	Matches []string `json:"matches"`
	Line    string   `json:"line"`
}

Match is what we send to the website.

type Website

type Website interface {
	SendData(data *website.Request)
}

Jump to

Keyboard shortcuts

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