event

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogEvent

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

LogEvent logs an event to the database

func LogEvents

func LogEvents(rlog log.Ext1FieldLogger, 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