team

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(repository repository.Repository, cache cache.Cache) *service

Types

type Team

type Team interface {
	CreateTeam(ctx context.Context, request *dto.TeamRequest) (*dto.TeamResponse, error)
	UpdateTeam(ctx context.Context, id string, request *dto.TeamRequest) error
	GetTeamByID(ctx context.Context, id string) (*dto.TeamResponse, error)
	GetTeamByName(ctx context.Context, name *dto.GetTeamByName) (*dto.TeamResponse, error)
	DeleteTeamByID(ctx context.Context, id string) error
}

Jump to

Keyboard shortcuts

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