bizbinah

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinahRepo

type BinahRepo interface {
}

BinahRepo is an App repo.

type BinahUseCase

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

BinahUseCase is an App use case.

func NewBinahUseCase

NewBinahUseCase new an App use case.

func (*BinahUseCase) NewUploadFile

func (b *BinahUseCase) NewUploadFile(ctx context.Context) (*UploadFile, *errors.Error)

type CallbackControlBlock

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

func NewCallbackControl

func NewCallbackControl() CallbackControlBlock

func (*CallbackControlBlock) RegisterUploadCallback

func (c *CallbackControlBlock) RegisterUploadCallback(callback UploadCallback)

type UploadCallback

type UploadCallback struct {
	ID   UploadCallbackID
	Func UploadCallbackFunc
}

type UploadCallbackFunc

type UploadCallbackFunc func(*UploadFile) error

type UploadCallbackID

type UploadCallbackID int
const (
	Empty UploadCallbackID = iota
	UploadArtifacts
)

type UploadFile

type UploadFile struct {
	Writer io.Writer
	// contains filtered or unexported fields
}

func (*UploadFile) Finish

func (f *UploadFile) Finish() error

Jump to

Keyboard shortcuts

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