distributed

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalDistributedService

func NewLocalDistributedService(params ...interface{}) (interface{}, error)

Types

type LocalDistributedProvider

type LocalDistributedProvider struct {
}

func (*LocalDistributedProvider) Boot

func (*LocalDistributedProvider) IsDefer

func (p *LocalDistributedProvider) IsDefer() bool

func (*LocalDistributedProvider) Name

func (p *LocalDistributedProvider) Name() string

func (*LocalDistributedProvider) Params

func (p *LocalDistributedProvider) Params(container framework.Container) []interface{}

func (*LocalDistributedProvider) Register

type LocalDistributedService

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

func (LocalDistributedService) Select

func (s LocalDistributedService) Select(serviceName string, appID string, holdTime time.Duration) (selectAppID string, err error)

Jump to

Keyboard shortcuts

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