NodeService represents a node service
| 139 | |
| 140 | // NodeService represents a node service |
| 141 | type 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 |
| 149 | func NewNodeService(logger logging.Logger) NodeService { |
no outgoing calls
no test coverage detected