service

package
v0.0.0-...-23ef0f1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 7 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 {
	CreateTicket(ticketRequest request.CreateTicketRequest) (uuid.UUID, error)
	GetTicket(id uuid.UUID) (model.Ticket, error)
	GetAllTickets() (interface{}, error)
	DeleteTicket(id uuid.UUID) error
}

func NewService

func NewService(r repository.Repository) Service

Jump to

Keyboard shortcuts

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