services

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: Apache-2.0 Imports: 11 Imported by: 1 module, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertInputStatus

func ConvertInputStatus(cInputStatus cModel.CompletionStatus) model.InputCompletionStatus

Types

type Convert

type Convert struct {
	// contains filtered or unexported fields
}

func NewConvert

func NewConvert(inputRepository *repository.InputRepository) *Convert

type InputService

type InputService struct {
	AppRepository   repository.AppRepositoryInterface
	InputRepository repository.InputRepositoryInterface
	EpochRepository repository.EpochRepositoryInterface
	// contains filtered or unexported fields
}

func NewInputService

func NewInputService(db *sqlx.DB) *InputService

func (*InputService) Close added in v0.0.2

func (s *InputService) Close() error

Close implements InputServiceInterface.

func (*InputService) CreateInput

func (s *InputService) CreateInput(ctx context.Context, input model.Input) error

func (*InputService) CreateInputWithAddress

func (s *InputService) CreateInputWithAddress(ctx context.Context, appContract common.Address, input model.Input) error

func (*InputService) StartTransaction added in v0.0.2

func (s *InputService) StartTransaction(ctx context.Context) (context.Context, *sqlx.Tx, error)

StartTransaction implements InputServiceInterface.

Jump to

Keyboard shortcuts

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