distributed

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalDistributedService

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

NewLocalDistributedService 初始化本地分布式服务

Types

type LocalDistributedProvider

type LocalDistributedProvider struct{}

func (*LocalDistributedProvider) Boot

func (*LocalDistributedProvider) IsDefer

func (l *LocalDistributedProvider) IsDefer() bool

func (*LocalDistributedProvider) Name

func (l *LocalDistributedProvider) Name() string

func (*LocalDistributedProvider) Params

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