Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetPasteByHash(ctx context.Context, hash string) (model.ResponseDto, error) CreatePaste(ctx context.Context, reqDto model.RequestDto) (model.ResponseDto, error) UpdatePaste(ctx context.Context, hash string, reqDto model.RequestDto) (model.ResponseDto, error) DeletePaste(ctx context.Context, hash string) error }
func NewService ¶
func NewService(repository repo.Repository) Service
Click to show internal directories.
Click to hide internal directories.