session: implement gRPC session creator

This commit is contained in:
Leonard Lyubich 2020-05-08 12:34:16 +03:00
parent 6d71ea239b
commit b079a7604f
6 changed files with 219 additions and 5 deletions

View file

@ -14,6 +14,10 @@ const signedRequestDataSize = 0 +
var requestEndianness = binary.BigEndian
func NewParams() CreateParamsContainer {
return new(CreateRequest)
}
// GetOwnerID is an OwnerID field getter.
func (m CreateRequest) GetOwnerID() OwnerID {
return m.OwnerID