protoactor-go: github.com/AsynkronIT/protoactor-go/cluster/consul Index | Files

package consul

import "github.com/AsynkronIT/protoactor-go/cluster/consul"

Index

Package Files

consul_provider.go

type ConsulProvider Uses

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

func New Uses

func New() (*ConsulProvider, error)

func NewWithConfig Uses

func NewWithConfig(consulConfig *api.Config) (*ConsulProvider, error)

func (*ConsulProvider) DeregisterMember Uses

func (p *ConsulProvider) DeregisterMember() error

func (*ConsulProvider) MonitorMemberStatusChanges Uses

func (p *ConsulProvider) MonitorMemberStatusChanges()

func (*ConsulProvider) RegisterMember Uses

func (p *ConsulProvider) RegisterMember(clusterName string, address string, port int, knownKinds []string,
    statusValue cluster.MemberStatusValue, serializer cluster.MemberStatusValueSerializer) error

func (*ConsulProvider) Shutdown Uses

func (p *ConsulProvider) Shutdown() error

func (*ConsulProvider) UpdateMemberStatusValue Uses

func (p *ConsulProvider) UpdateMemberStatusValue(statusValue cluster.MemberStatusValue) error

func (*ConsulProvider) UpdateTTL Uses

func (p *ConsulProvider) UpdateTTL()

Package consul imports 6 packages (graph) and is imported by 4 packages. Updated 2017-11-18. Refresh now. Tools for package owners.