forked from TrueCloudLab/frostfs-api-go
service: add SetVersion
to satisfy MetaHeader
interface
This commit is contained in:
parent
cc3b4d9087
commit
b8f3641b59
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ const (
|
||||||
ErrIncorrectTTL = internal.Error("incorrect ttl")
|
ErrIncorrectTTL = internal.Error("incorrect ttl")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// SetVersion sets protocol version to RequestMetaHeader.
|
||||||
|
func (m *RequestMetaHeader) SetVersion(v uint32) { m.Version = v }
|
||||||
|
|
||||||
// SetTTL sets TTL to RequestMetaHeader.
|
// SetTTL sets TTL to RequestMetaHeader.
|
||||||
func (m *RequestMetaHeader) SetTTL(v uint32) { m.TTL = v }
|
func (m *RequestMetaHeader) SetTTL(v uint32) { m.TTL = v }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue