herald

package
v0.0.0-...-df6c08f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2015 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHeraldType

func AddHeraldType(key string, h Herald)

func GetService

func GetService(s *service.Service) error

func GetServiceS

func GetServiceS(title string, version string) (*service.Service, error)

func Init

func Init()

func Register

func Register(s *service.Service) error

func Set

func Set(h Herald)

func UnRegister

func UnRegister(s *service.Service) error

Types

type Herald

type Herald interface {
	Init()
	Register(*service.Service) error
	UnRegister(*service.Service) error
	GetService(*service.Service) error
}
var DefaultHerald Herald

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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