enry

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: AGPL-3.0 Imports: 4 Imported by: 2

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 implements data service interface which adds language information to the responses

func NewService

func NewService(changes lookout.ChangeGetter, files lookout.FileGetter) *Service

NewService creates new enry Service

func (*Service) GetChanges

GetChanges returns a ChangeScanner that scans all changes according to the request.

func (*Service) GetFiles

func (s *Service) GetFiles(ctx context.Context, req *lookout.FilesRequest) (lookout.FileScanner, error)

GetFiles returns a FilesScanner that scans all files according to the request.

Jump to

Keyboard shortcuts

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