services

package
v0.0.0-...-66bb59c Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2017 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registory

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

Registory ...

func NewRegistory

func NewRegistory() *Registory

NewRegistory ...

func (*Registory) List

func (r *Registory) List() []string

List ...

func (*Registory) Register

func (r *Registory) Register(s Service) error

Register ...

func (*Registory) RegisterName

func (r *Registory) RegisterName(name string, s Service) error

RegisterName ...

type Service

type Service interface {
	Name() string
	Rcvr() interface{}
}

Service ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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