All checks were successful
Tests and linters / Tests (1.19) (pull_request) Successful in 7m50s
Tests and linters / Tests (1.20) (pull_request) Successful in 7m50s
Tests and linters / Lint (pull_request) Successful in 8m34s
DCO action / DCO (pull_request) Successful in 8m54s
Tests and linters / Tests with -race (pull_request) Successful in 9m18s
* Generate protobufs. * Make marshallers, unmarshallers, json-encoders etc. * Create message encoding/decoding unit-tests. Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
21 lines
326 B
Go
21 lines
326 B
Go
package apemanager
|
|
|
|
func (t *ChainTarget) SetType(typ TargetType) {
|
|
t.Type = typ
|
|
}
|
|
|
|
func (t *ChainTarget) SetName(name string) {
|
|
t.Name = name
|
|
}
|
|
|
|
func (c *Chain) SetKind(kind isChain_Kind) {
|
|
c.Kind = kind
|
|
}
|
|
|
|
func (cr *Chain_Raw) SetRaw(raw []byte) {
|
|
cr.Raw = raw
|
|
}
|
|
|
|
func (cr *Chain_Raw) GetRaw() []byte {
|
|
return cr.Raw
|
|
}
|