MCPcopy Create free account
hub / github.com/KOSASIH/skybridge / NodeService

Interface NodeService

src/api/node/node.go:141–146  ·  view source on GitHub ↗

NodeService represents a node service

Source from the content-addressed store, hash-verified

139
140// NodeService represents a node service
141type NodeService interface {
142 GetNode(ctx context.Context, id string) (*Node, error)
143 CreateNode(ctx context.Context, node *Node) error
144 UpdateNode(ctx context.Context, node *Node) error
145 DeleteNode(ctx context.Context, id string) error
146}
147
148// NewNodeService creates a new node service
149func NewNodeService(logger logging.Logger) NodeService {

Callers 2

TestNodeServiceFunction · 0.95
TestNodeServiceFunction · 0.95

Implementers 1

nodeServicesrc/api/node/node.go

Calls

no outgoing calls

Tested by

no test coverage detected