service

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 17 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 the global service

func Configure

func Configure(db store.DB, conf config.Config) (*Service, error)

Configure the global service

func (*Service) ClearCache

func (s *Service) ClearCache() error

ClearCache clear DB cache

func (*Service) ImportOPMLFile

func (s *Service) ImportOPMLFile(filename string) error

ImportOPMLFile imports OPML file

func (*Service) ListenAndServe

func (s *Service) ListenAndServe(ListenAddr string) error

ListenAndServe starts server

func (*Service) Shutdown

func (s *Service) Shutdown(ctx context.Context) error

Shutdown service

Jump to

Keyboard shortcuts

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