catcher

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catcher

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

func New

func New(ctx context.Context, dbconn, dbname string) (ct *Catcher, err error)

func (*Catcher) Do

func (c *Catcher) Do(data []byte) error

type Gamelog

type Gamelog struct {
	Kills []Kill    `bson:"kills"`
	Date  time.Time `bson:"date"`
}

type Kill

type Kill struct {
	Killer string `bson:"killer"`
	Victim string `bson:"victim"`
}

Jump to

Keyboard shortcuts

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