satisphp

package
v0.0.0-...-cd397cf Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRepoNotFound = errors.New("Repository Not Found")

Functions

This section is empty.

Types

type Generator

type Generator interface {
	Generate() error
}

type SatisClient

type SatisClient struct {
	Jobs   chan job.SatisJob
	DbPath string
}

func (*SatisClient) DeleteRepo

func (s *SatisClient) DeleteRepo(id string, generate bool) error

func (*SatisClient) FindAllRepos

func (s *SatisClient) FindAllRepos() ([]api.Repo, error)

func (*SatisClient) FindRepo

func (s *SatisClient) FindRepo(id string) (api.Repo, error)

func (*SatisClient) GenerateSatisWeb

func (s *SatisClient) GenerateSatisWeb() error

func (*SatisClient) SaveRepo

func (s *SatisClient) SaveRepo(repo *api.Repo, generate bool) error

func (*SatisClient) Shutdown

func (s *SatisClient) Shutdown() error

type SatisJobProcessor

type SatisJobProcessor struct {
	DbPath    string
	Jobs      chan job.SatisJob
	Generator Generator
}

func (*SatisJobProcessor) ProcessUpdates

func (s *SatisJobProcessor) ProcessUpdates()

Run jobs added to Jobs chan

type StaticWebGenerator

type StaticWebGenerator struct {
	DbPath  string
	WebPath string
}

func (*StaticWebGenerator) Generate

func (s *StaticWebGenerator) Generate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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