lnrpc: replace /// and /** with // and /*
This commit is contained in:
22 files changed
+2096
-2098
No files matched your search
@@ -54,23 +54,23 @@ func (m *VersionRequest) XXX_DiscardUnknown() {
|
||||
var xxx_messageInfo_VersionRequest proto.InternalMessageInfo
|
||||
|
||||
type Version struct {
|
||||
/// A verbose description of the daemon's commit.
|
||||
// A verbose description of the daemon's commit.
|
||||
Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
|
||||
/// The SHA1 commit hash that the daemon is compiled with.
|
||||
// The SHA1 commit hash that the daemon is compiled with.
|
||||
CommitHash string `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
|
||||
/// The semantic version.
|
||||
// The semantic version.
|
||||
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
||||
/// The major application version.
|
||||
// The major application version.
|
||||
AppMajor uint32 `protobuf:"varint,4,opt,name=app_major,json=appMajor,proto3" json:"app_major,omitempty"`
|
||||
/// The minor application version.
|
||||
// The minor application version.
|
||||
AppMinor uint32 `protobuf:"varint,5,opt,name=app_minor,json=appMinor,proto3" json:"app_minor,omitempty"`
|
||||
/// The application patch number.
|
||||
// The application patch number.
|
||||
AppPatch uint32 `protobuf:"varint,6,opt,name=app_patch,json=appPatch,proto3" json:"app_patch,omitempty"`
|
||||
/// The application pre-release modifier, possibly empty.
|
||||
// The application pre-release modifier, possibly empty.
|
||||
AppPreRelease string `protobuf:"bytes,7,opt,name=app_pre_release,json=appPreRelease,proto3" json:"app_pre_release,omitempty"`
|
||||
/// The list of build tags that were supplied during compilation.
|
||||
// The list of build tags that were supplied during compilation.
|
||||
BuildTags []string `protobuf:"bytes,8,rep,name=build_tags,json=buildTags,proto3" json:"build_tags,omitempty"`
|
||||
/// The version of go that compiled the executable.
|
||||
// The version of go that compiled the executable.
|
||||
GoVersion string `protobuf:"bytes,9,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -207,6 +207,9 @@ const _ = grpc.SupportPackageIsVersion4
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type VersionerClient interface {
|
||||
// lncli: `version`
|
||||
//GetVersion returns the current version and build information of the running
|
||||
//daemon.
|
||||
GetVersion(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*Version, error)
|
||||
}
|
||||
|
||||
@@ -229,6 +232,9 @@ func (c *versionerClient) GetVersion(ctx context.Context, in *VersionRequest, op
|
||||
|
||||
// VersionerServer is the server API for Versioner service.
|
||||
type VersionerServer interface {
|
||||
// lncli: `version`
|
||||
//GetVersion returns the current version and build information of the running
|
||||
//daemon.
|
||||
GetVersion(context.Context, *VersionRequest) (*Version, error)
|
||||
}
|
||||
|
||||
|
||||
@@ -18,30 +18,30 @@ message VersionRequest {
|
||||
}
|
||||
|
||||
message Version {
|
||||
/// A verbose description of the daemon's commit.
|
||||
// A verbose description of the daemon's commit.
|
||||
string commit = 1;
|
||||
|
||||
/// The SHA1 commit hash that the daemon is compiled with.
|
||||
// The SHA1 commit hash that the daemon is compiled with.
|
||||
string commit_hash = 2;
|
||||
|
||||
/// The semantic version.
|
||||
// The semantic version.
|
||||
string version = 3;
|
||||
|
||||
/// The major application version.
|
||||
// The major application version.
|
||||
uint32 app_major = 4;
|
||||
|
||||
/// The minor application version.
|
||||
// The minor application version.
|
||||
uint32 app_minor = 5;
|
||||
|
||||
/// The application patch number.
|
||||
// The application patch number.
|
||||
uint32 app_patch = 6;
|
||||
|
||||
/// The application pre-release modifier, possibly empty.
|
||||
// The application pre-release modifier, possibly empty.
|
||||
string app_pre_release = 7;
|
||||
|
||||
/// The list of build tags that were supplied during compilation.
|
||||
// The list of build tags that were supplied during compilation.
|
||||
repeated string build_tags = 8;
|
||||
|
||||
/// The version of go that compiled the executable.
|
||||
// The version of go that compiled the executable.
|
||||
string go_version = 9;
|
||||
}
|
||||
Reference in new issue
Block a user