common/protocol/api.go

12 lines
271 B
Go
Raw Permalink Normal View History

2023-08-18 08:57:35 +00:00
package protocol
2023-08-30 18:45:54 +00:00
import commonv1 "code.icb4dc0.de/buildr/api/generated/common/v1"
2023-08-18 08:57:35 +00:00
type SpecUnmarshaler interface {
2023-08-30 18:45:54 +00:00
UnmarshalModuleSpec(val *commonv1.ModuleSpec) error
2023-08-18 08:57:35 +00:00
}
type SpecValueUnmarshaler interface {
2023-08-30 18:45:54 +00:00
UnmarshalSpecValue(val *commonv1.ModuleSpec_Value) error
2023-08-18 08:57:35 +00:00
}