frostfs-node/pkg/services/control/types.go
Leonard Lyubich abd9952e46 [#306] Rename Private service to Control service
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-01-14 12:13:49 +03:00

15 lines
240 B
Go

package control
// SetKey sets public key used for signing.
func (m *Signature) SetKey(v []byte) {
if m != nil {
m.Key = v
}
}
// SetSign sets binary signature.
func (m *Signature) SetSign(v []byte) {
if m != nil {
m.Sign = v
}
}