ability

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(repository repository.AbilityRepository, cache cache.AbilityCache) *service

Types

type Ability

type Ability interface {
	CreateAbility(ctx context.Context, req *dto.AbilityRequest) (*dto.AbilityResponse, error)
	GetAbilityByID(ctx context.Context, id string) (*dto.AbilityResponse, error)
	GetAbilitiesByHeroID(ctx context.Context, id string) ([]dto.AbilityResponse, error)
	DeleteAbility(ctx context.Context, id string) error
}

Jump to

Keyboard shortcuts

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