forked from TrueCloudLab/frostfs-api-go
Add stable marshal of meta & verify headers
It uses unstable implementation for now. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
c37fca9e0d
commit
0ae952fcc6
1 changed files with 21 additions and 0 deletions
21
service/v2/marshal.go
Normal file
21
service/v2/marshal.go
Normal file
|
@ -0,0 +1,21 @@
|
|||
package v2
|
||||
|
||||
func (m *RequestMetaHeader) StableMarshal(buf []byte) ([]byte, error) {
|
||||
// fixme: implement stable
|
||||
return m.Marshal()
|
||||
}
|
||||
|
||||
func (m *RequestMetaHeader) StableSize() int {
|
||||
// fixme: implement stable
|
||||
return m.Size()
|
||||
}
|
||||
|
||||
func (m *RequestVerificationHeader) StableMarshal(buf []byte) ([]byte, error) {
|
||||
// fixme: implement stable
|
||||
return m.Marshal()
|
||||
}
|
||||
|
||||
func (m *RequestVerificationHeader) StableSize() int {
|
||||
// fixme: implement stable
|
||||
return m.Size()
|
||||
}
|
Loading…
Reference in a new issue