paste

package
v0.0.0-...-0213d94 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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