plugin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(params Params) service.PluginService

Types

type Params

type Params struct {
	dig.In

	PluginRepository repository.PluginRepository
}

type Service

type Service struct {
	PluginRepository repository.PluginRepository
}

func (*Service) Create

func (s *Service) Create(file *entity.File) (*entity.Plugin, error)

func (*Service) Get

func (s *Service) Get(id meta.ID) (*entity.Plugin, error)

func (*Service) GetAll

func (s *Service) GetAll() []*entity.Plugin

func (*Service) GetByIDs

func (s *Service) GetByIDs(ids []meta.ID) []*entity.Plugin

Jump to

Keyboard shortcuts

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