distributed

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalDistributedService

func NewLocalDistributedService(params ...any) (any, error)

Types

type LocalDistributedProvider

type LocalDistributedProvider struct {
}

func (*LocalDistributedProvider) Boot

func (provider *LocalDistributedProvider) Boot(container framework.Container) error

func (*LocalDistributedProvider) IsDefer

func (provider *LocalDistributedProvider) IsDefer() bool

func (*LocalDistributedProvider) Name

func (provider *LocalDistributedProvider) Name() string

func (*LocalDistributedProvider) Params

func (provider *LocalDistributedProvider) Params(container framework.Container) []any

func (*LocalDistributedProvider) Register

func (provider *LocalDistributedProvider) Register(container framework.Container) framework.NewInstance

type LocalDistributedService

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

func (LocalDistributedService) Select

func (service LocalDistributedService) Select(serviceName, appID string, holdTime time.Duration) (string, error)

Jump to

Keyboard shortcuts

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