status

package
v0.0.0-...-ce79110 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 3 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 struct {
	// contains filtered or unexported fields
}

func New

func New(
	status statusRepo,
) *Service

func (*Service) CreateStatus

func (s *Service) CreateStatus(ctx context.Context, status status.StatusForCreate) error

func (*Service) DeleteStatus

func (s *Service) DeleteStatus(ctx context.Context, statusID string) error

func (*Service) ListAllStatus

func (s *Service) ListAllStatus(ctx context.Context, params *postgresutils.PageRequest) (postgresutils.Page[status.Status], error)

func (*Service) UpdateStatus

func (s *Service) UpdateStatus(ctx context.Context, statusID string, updatedStatus status.StatusForUpdate) error

Jump to

Keyboard shortcuts

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