localservice

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, f F)

Register .

Types

type F

type F func(config scf4go.Config) (smf4go.Service, error)

F .

type LocalService added in v0.0.2

type LocalService interface {
	Register(name string, f F)
}

LocalService .

func Get added in v0.0.2

func Get() LocalService

Get get sigleton LocalService

func New added in v0.0.2

func New(builder smf4go.MeshBuilder) LocalService

New create LocalService with provider smf4go.MeshBuilder

Jump to

Keyboard shortcuts

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