Documentation
¶
Index ¶
- func ConvertInputStatus(cInputStatus cModel.CompletionStatus) model.InputCompletionStatus
- type Convert
- type InputService
- func (s *InputService) Close() error
- func (s *InputService) CreateInput(ctx context.Context, input model.Input) error
- func (s *InputService) CreateInputWithAddress(ctx context.Context, appContract common.Address, input model.Input) error
- func (s *InputService) StartTransaction(ctx context.Context) (context.Context, *sqlx.Tx, error)
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 (*InputService) CreateInputWithAddress ¶
func (*InputService) StartTransaction ¶ added in v0.0.2
StartTransaction implements InputServiceInterface.
Click to show internal directories.
Click to hide internal directories.