items

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: Apache-2.0 Imports: 16 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 struct {
	// contains filtered or unexported fields
}

Service is used to manage the item assets.

func New

func New(db *sql.DB) Service

func (Service) Name

func (Service) Name() string

Name returns the name of the service.

func (Service) Register

func (s Service) Register(router *mux.Router)

Register sets up the http handler for this service with the given router.

func (Service) Shutdown

func (Service) Shutdown()

Shutdown is a no-op since there no long running processes for this service... yet.

Jump to

Keyboard shortcuts

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