frostfs-api-go/session/service.proto
Evgeniy Kulikov 1cf33e5ffd
initial
2019-11-18 16:34:06 +03:00

27 lines
572 B
Protocol Buffer

syntax = "proto3";
package session;
option go_package = "github.com/nspcc-dev/neofs-proto/session";
import "session/types.proto";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
option (gogoproto.stable_marshaler_all) = true;
service Session {
rpc Create (stream CreateRequest) returns (stream CreateResponse);
}
message CreateRequest {
oneof Message {
session.Token Init = 1;
session.Token Signed = 2;
}
}
message CreateResponse {
oneof Message {
session.Token Unsigned = 1;
session.Token Result = 2;
}
}