Documentation ¶
Index ¶
- type LanternServer
- type LanternService
- func (s *LanternService) AddEdge(ctx context.Context, request *AddEdgeRequest) (*AddEdgeResponse, error)
- func (s *LanternService) DeleteEdge(ctx context.Context, in *DeleteEdgeRequest) (*DeleteEdgeResponse, error)
- func (s *LanternService) DeleteVertex(ctx context.Context, in *DeleteVertexRequest) (*DeleteVertexResponse, error)
- func (s *LanternService) GetEdge(ctx context.Context, request *GetEdgeRequest) (*GetEdgeResponse, error)
- func (s *LanternService) GetVertex(ctx context.Context, request *GetVertexRequest) (*GetVertexResponse, error)
- func (s *LanternService) Illuminate(ctx context.Context, request *IlluminateRequest) (*IlluminateResponse, error)
- func (s *LanternService) PutEdge(ctx context.Context, request *PutEdgeRequest) (*PutEdgeResponse, error)
- func (s *LanternService) PutVertex(ctx context.Context, request *PutVertexRequest) (*PutVertexResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LanternServer ¶
type LanternServer struct {
// contains filtered or unexported fields
}
func NewLanternServer ¶
func NewLanternServer(service *LanternService, server *grpc.Server, listener net.Listener) *LanternServer
type LanternService ¶
type LanternService struct { UnimplementedLanternServiceServer // contains filtered or unexported fields }
func NewLanternService ¶
func NewLanternService(cache *graph.GraphCache[string, *Vertex]) *LanternService
func (*LanternService) AddEdge ¶ added in v0.4.0
func (s *LanternService) AddEdge(ctx context.Context, request *AddEdgeRequest) (*AddEdgeResponse, error)
func (*LanternService) DeleteEdge ¶ added in v0.4.0
func (s *LanternService) DeleteEdge(ctx context.Context, in *DeleteEdgeRequest) (*DeleteEdgeResponse, error)
func (*LanternService) DeleteVertex ¶ added in v0.4.0
func (s *LanternService) DeleteVertex(ctx context.Context, in *DeleteVertexRequest) (*DeleteVertexResponse, error)
func (*LanternService) GetEdge ¶
func (s *LanternService) GetEdge(ctx context.Context, request *GetEdgeRequest) (*GetEdgeResponse, error)
func (*LanternService) GetVertex ¶
func (s *LanternService) GetVertex(ctx context.Context, request *GetVertexRequest) (*GetVertexResponse, error)
func (*LanternService) Illuminate ¶
func (s *LanternService) Illuminate(ctx context.Context, request *IlluminateRequest) (*IlluminateResponse, error)
Click to show internal directories.
Click to hide internal directories.