events

package
v0.0.13-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventName

type EventName interface {
	EventName() string
}

type FileAddedEvent

type FileAddedEvent struct{ FileName string }

func (FileAddedEvent) String

func (p FileAddedEvent) String() string

type FileModifiedEvent

type FileModifiedEvent struct{ FileName string }

func (FileModifiedEvent) String

func (p FileModifiedEvent) String() string

type FolderAddedEvent

type FolderAddedEvent struct{ FolderName string }

func (FolderAddedEvent) String

func (p FolderAddedEvent) String() string

type MeasurementEvent

type MeasurementEvent struct{ TimeElapsed time.Duration }

func (MeasurementEvent) String

func (m MeasurementEvent) String() string

type MessageEvent

type MessageEvent struct{ Message string }

func (MessageEvent) String

func (p MessageEvent) String() string

type MigrateDownEvent

type MigrateDownEvent struct {
	MigrationName string
	Time          time.Time
}

func (MigrateDownEvent) String

func (m MigrateDownEvent) String() string

type MigrateUpEvent

type MigrateUpEvent struct {
	MigrationName string
	Time          time.Time
}

func (MigrateUpEvent) String

func (m MigrateUpEvent) String() string

type RawEvent

type RawEvent struct{ Message string }

func (RawEvent) String

func (p RawEvent) String() string

type SQLQueryEvent

type SQLQueryEvent struct {
	Query string
}

func (SQLQueryEvent) String

func (s SQLQueryEvent) String() string

type SkipMigrationEvent

type SkipMigrationEvent struct {
	MigrationVersion string
}

func (SkipMigrationEvent) String

func (s SkipMigrationEvent) String() string

type VersionAddedEvent

type VersionAddedEvent struct {
	Version string
}

func (VersionAddedEvent) String

func (v VersionAddedEvent) String() string

type VersionDeletedEvent

type VersionDeletedEvent struct {
	Version string
}

func (VersionDeletedEvent) String

func (v VersionDeletedEvent) String() string

Jump to

Keyboard shortcuts

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