services

package
v0.0.0-...-c95f17e Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 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 ResourceService

type ResourceService struct {
	// contains filtered or unexported fields
}

func NewResourceService

func NewResourceService(logger lib.Logger, repository repository.ResourceRepository) ResourceService

func (ResourceService) GetResourceById

func (s ResourceService) GetResourceById(id string) (resource entity.Resource, err error)

func (ResourceService) WriteResource

func (s ResourceService) WriteResource(resource entity.Resource) error

Jump to

Keyboard shortcuts

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