fetching

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 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 Service

type Service interface {
	FetchGophers(ctx context.Context) ([]gopher.Gopher, error)
	FetchGopherByID(ctx context.Context, ID string) *gopher.Gopher
}

Service provides fetching operations.

func NewService

func NewService(repository gopher.Repository, logger log.Logger) Service

NewService creates a fetching service with the necessary dependencies

Jump to

Keyboard shortcuts

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