node

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package node

Index

Constants

View Source
const Version string = "node/v1"

Variables

This section is empty.

Functions

This section is empty.

Types

type NewServiceOption

type NewServiceOption func(s *NodeService)

func WithExchange

func WithExchange(e *events.Exchange) NewServiceOption

func WithLogger

func WithLogger(l logger.Logger) NewServiceOption

type NodeService

type NodeService struct {
	nodesv1.UnimplementedNodeServiceServer
	// contains filtered or unexported fields
}

func NewService

func NewService(repo repository.NodeRepository, opts ...NewServiceOption) *NodeService

func (*NodeService) Connect

func (*NodeService) Create

func (*NodeService) Delete

func (*NodeService) Forget

func (*NodeService) Get

func (*NodeService) Join

func (*NodeService) List

func (*NodeService) Patch

func (*NodeService) Register

func (n *NodeService) Register(server *grpc.Server) error

func (*NodeService) Update

func (*NodeService) UpdateStatus

func (*NodeService) Upgrade

Jump to

Keyboard shortcuts

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