event

package
v0.0.0-...-da968a9 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event uint8

Event is a logging event kind. It represent a CRUD op

const (
	None   Event = iota // None, invalid type
	Create              // Create
	Read                // Read
	Update              // Update
	Delete              // Delete
)

These events are useful for setting the kind of an event

func (*Event) Scan

func (e *Event) Scan(value interface{}) error

Scan implements sql.Scanner interface

see https://golang.org/pkg/database/sql/#Scanner

func (Event) String

func (e Event) String() string

func (Event) Value

func (e Event) Value() (driver.Value, error)

Value implements sql/driver.Value interface

see https://golang.org/pkg/database/sql/driver/#Valuer

Jump to

Keyboard shortcuts

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