hooks

package
v0.0.0-pre.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2018 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDChecker

type IDChecker interface {
	NewID() (*idcheck.ID, error)
	ValidID(*idcheck.ID) bool
}

IDChecker checks queue IDs

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service is a hooks service

func New

func New(queue queue.Queue, idChecker IDChecker, publicURL string) *Service

New returns a new hooks service

func (*Service) Router

func (s *Service) Router() *mux.Router

Router is the mux router

Jump to

Keyboard shortcuts

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