frostfs-node/pkg/services/control/types.proto

27 lines
523 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package control;
option go_package = "github.com/nspcc-dev/neofs-node/pkg/services/control";
// Signature of some message.
message Signature {
// Public key used for signing.
bytes key = 1 [json_name = "key"];
// Binary signature.
bytes sign = 2 [json_name = "signature"];
}
// Health status of the storage node.
enum HealthStatus {
// Undefined status, default value.
STATUS_UNDEFINED = 0;
// Node is online.
ONLINE = 1;
// Node is offline.
OFFLINE = 2;
}