Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddFileResponse ¶
type AddFileResponse struct {
ID string `json:"id"`
}
type Service ¶
type Service interface { AddFile(ctx context.Context, file io.Reader) (id string, err error) GetFile(ctx context.Context, name string) (file io.Writer, err error) }
-go:generate go run github.com/petergtz/pegomock/pegomock generate eintopf.info/service/media Service --output=../../internal/mock/media_service.go --package=mock --mock-name=MediaService
func NewAuthorizer ¶
func NewService ¶
Click to show internal directories.
Click to hide internal directories.