mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-14 23:19:08 +02:00
Merge pull request #6218 from guggero/dev-rpc-fix
devrpc: remove lncli API docs tag [skip ci]
This commit is contained in:
commit
91f93f161d
@ -7,7 +7,7 @@ package devrpc;
|
||||
option go_package = "github.com/lightningnetwork/lnd/lnrpc/devrpc";
|
||||
|
||||
service Dev {
|
||||
/* lncli: `importgraph`
|
||||
/*
|
||||
ImportGraph imports a ChannelGraph into the graph database. Should only be
|
||||
used for development.
|
||||
*/
|
||||
|
@ -18,7 +18,7 @@
|
||||
"paths": {
|
||||
"/v2/dev/importgraph": {
|
||||
"post": {
|
||||
"summary": "lncli: `importgraph`\nImportGraph imports a ChannelGraph into the graph database. Should only be\nused for development.",
|
||||
"summary": "ImportGraph imports a ChannelGraph into the graph database. Should only be\nused for development.",
|
||||
"operationId": "Dev_ImportGraph",
|
||||
"responses": {
|
||||
"200": {
|
||||
|
@ -19,7 +19,7 @@ const _ = grpc.SupportPackageIsVersion7
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||
type DevClient interface {
|
||||
// lncli: `importgraph`
|
||||
//
|
||||
//ImportGraph imports a ChannelGraph into the graph database. Should only be
|
||||
//used for development.
|
||||
ImportGraph(ctx context.Context, in *lnrpc.ChannelGraph, opts ...grpc.CallOption) (*ImportGraphResponse, error)
|
||||
@ -46,7 +46,7 @@ func (c *devClient) ImportGraph(ctx context.Context, in *lnrpc.ChannelGraph, opt
|
||||
// All implementations must embed UnimplementedDevServer
|
||||
// for forward compatibility
|
||||
type DevServer interface {
|
||||
// lncli: `importgraph`
|
||||
//
|
||||
//ImportGraph imports a ChannelGraph into the graph database. Should only be
|
||||
//used for development.
|
||||
ImportGraph(context.Context, *lnrpc.ChannelGraph) (*ImportGraphResponse, error)
|
||||
|
Loading…
x
Reference in New Issue
Block a user