Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.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 FakeProjection

type FakeProjection struct{}

func NewFakeProjection

func NewFakeProjection() *FakeProjection

func (*FakeProjection) GetEventsToListen

func (projection *FakeProjection) GetEventsToListen() []string

func (*FakeProjection) GetLastHandledEventHeight

func (projection *FakeProjection) GetLastHandledEventHeight() (*int64, error)

func (*FakeProjection) HandleEvents

func (projection *FakeProjection) HandleEvents(_ int64, _ []entity_event.Event) error

func (*FakeProjection) Id

func (projection *FakeProjection) Id() string

func (*FakeProjection) OnInit

func (projection *FakeProjection) OnInit() error

type MockProjection

type MockProjection struct {
	mock.Mock
}

func NewMockProjection

func NewMockProjection() *MockProjection

func (*MockProjection) GetEventsToListen

func (projection *MockProjection) GetEventsToListen() []string

func (*MockProjection) GetLastHandledEventHeight

func (projection *MockProjection) GetLastHandledEventHeight() (*int64, error)

func (*MockProjection) HandleEvents

func (projection *MockProjection) HandleEvents(height int64, events []entity_event.Event) error

func (*MockProjection) Id

func (projection *MockProjection) Id() string

func (*MockProjection) OnInit

func (projection *MockProjection) OnInit() error

Jump to

Keyboard shortcuts

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