event

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogEvent

func LogEvent(tx *sqlx.Tx, event MTEvent, clientMetaData api.ClientMetaData) error

LogEvent logs an event to the database

func LogEvents

func LogEvents(tx *sqlx.Tx, events []MTEvent, clientMetaData api.ClientMetaData) error

LogEvents logs multiple events for the same token to the database

Types

type MTEvent

type MTEvent struct {
	*pkg.Event
	MTID mtid.MTID
}

MTEvent is type for mytoken events

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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