distributed

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 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 (h *LocalDistributedProvider) IsDefer() bool

func (*LocalDistributedProvider) Name

func (h *LocalDistributedProvider) Name() string

func (*LocalDistributedProvider) Params

func (h *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