Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinahUseCase ¶
type BinahUseCase struct {
// contains filtered or unexported fields
}
BinahUseCase is an App use case.
func NewBinahUseCase ¶
func NewBinahUseCase(callback CallbackControlBlock, auth *libauth.Auth, mClient mapper.LibrarianMapperServiceClient, pClient porter.LibrarianPorterServiceClient, sClient searcher.LibrarianSearcherServiceClient) *BinahUseCase
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 ¶
func (*UploadFile) Finish ¶
func (f *UploadFile) Finish() error
Click to show internal directories.
Click to hide internal directories.