forked from TrueCloudLab/frostfs-api-go
service: refactor MetaHeader interface
This commit is contained in:
parent
c38a8eddc8
commit
eb94cf7549
11 changed files with 131 additions and 62 deletions
11
service/epoch.go
Normal file
11
service/epoch.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package service
|
||||
|
||||
// SetEpoch is an Epoch field setter.
|
||||
func (m *ResponseMetaHeader) SetEpoch(v uint64) {
|
||||
m.Epoch = v
|
||||
}
|
||||
|
||||
// SetEpoch is an Epoch field setter.
|
||||
func (m *RequestMetaHeader) SetEpoch(v uint64) {
|
||||
m.Epoch = v
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue