package
0.0.0-20240702075708-0be5f3d058c4
Repository: https://github.com/milosgajdos/orbnet.git
Documentation: pkg.go.dev
# README
Swagger
swag init -g api.go -o http/docs/
# Functions
ErrorCode unwraps an application error and returns its code.
Errorf is a helper function to return an Error with a given code and formatted message.
ErrorMessage unwraps an application error and returns its message.
# Constants
API error codes.
API error codes.
API error codes.
API error codes.
API error codes.
API error codes.
# Structs
Edge is an edge between two graph nodes.
EdgeFilter represents a filter used by FindEdges().
EdgeUpdate represents a set of fields to update on an edge.
Error represents an application-specific error.
Graph contains nodes connected by edges.
GraphFilter represents a filter used by FindGraphs().
GraphUpdate represents a set of fields to update on a graph.
Node is a graph node.
NodeFilter represents a filter used by FindNodes().
NodeUpdate represents a set of fields to update on a node.
# Interfaces
EdgeService represents a service for managing Edges.
GraphService represents a service for managing Graphs.
NodeService represents a service for managing graph nodes.