forked from TrueCloudLab/frostfs-node
Initial commit
Initial public review release v0.10.0
This commit is contained in:
commit
dadfd90dcd
276 changed files with 46331 additions and 0 deletions
17
lib/ir/node.go
Normal file
17
lib/ir/node.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package ir
|
||||
|
||||
// Node is a structure that groups
|
||||
// the information about IR node.
|
||||
type Node struct {
|
||||
key []byte
|
||||
}
|
||||
|
||||
// SetKey is an IR node public key setter.
|
||||
func (s *Node) SetKey(v []byte) {
|
||||
s.key = v
|
||||
}
|
||||
|
||||
// Key is an IR node public key getter.
|
||||
func (s Node) Key() []byte {
|
||||
return s.key
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue