services

package
v0.0.0-...-e10a309 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

package services defines the app dependency and route mapping

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KvotheService

type KvotheService struct {
	Repo    interfaces.InterfaceKvotheRepository
	HTTP    interfaces.IHTTP
	Conf    *resources.AppConfig
	Context interfaces.IContext
}

func (*KvotheService) AddNewPersonMockData

func (ks *KvotheService) AddNewPersonMockData(p string) (string, error)

func (*KvotheService) AddNewQuoteMockData

func (ks *KvotheService) AddNewQuoteMockData(q string) (string, error)

func (*KvotheService) BackfillRedis

func (ks *KvotheService) BackfillRedis() error

func (*KvotheService) GetAllSongData

func (ks *KvotheService) GetAllSongData() ([]models.SongQuote, int, error)

func (*KvotheService) GetPersonByIDMockData

func (ks *KvotheService) GetPersonByIDMockData(rawID string) (string, error)

func (*KvotheService) GetQuoteByIDMockData

func (ks *KvotheService) GetQuoteByIDMockData(rawID string) (string, error)

func (*KvotheService) GetSongQuoteByID

func (ks *KvotheService) GetSongQuoteByID(id int64) (*models.SongQuote, int, error)

Jump to

Keyboard shortcuts

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