service

package
v0.0.0-...-86dda10 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatefulService

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

func New

func New(ordinal uint32, peerDNSFormat, address string) *StatefulService

func (*StatefulService) GetData

func (ss *StatefulService) GetData(ctx context.Context, request *stateful.GetDataRequest) (*stateful.GetDataResponse, error)

func (*StatefulService) Load

func (ss *StatefulService) Load(ctx context.Context, _ router.ResourceType, device string) error

implementing routing.DeviceLocker

func (*StatefulService) SetData

func (ss *StatefulService) SetData(ctx context.Context, request *stateful.SetDataRequest) (*empty.Empty, error)

func (*StatefulService) Stop

func (ss *StatefulService) Stop()

func (*StatefulService) Unload

func (ss *StatefulService) Unload(_ router.ResourceType, device string)

implementing routing.DeviceLocker

Jump to

Keyboard shortcuts

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