Documentation
¶
Index ¶
- Variables
- func LoadAnyResolver(rootPath string, parseFiles ...string) (jsonpb.AnyResolver, error)
- func MessageFQN(msg descriptor.Message) string
- func ReadConfig(protoconfRoot string, configName string) (*protoconfvalue.ProtoconfValue, error)
- func ReplaceProtoBytes(protoBytes []byte, pos int, length int, replacement []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOverflow = errors.New("proto: integer overflow")
ErrOverflow is returned when an integer is too large to be represented.
Functions ¶
func LoadAnyResolver ¶
func LoadAnyResolver(rootPath string, parseFiles ...string) (jsonpb.AnyResolver, error)
LoadAnyResolver is a util that helps resolve `Any` messages
func MessageFQN ¶
func MessageFQN(msg descriptor.Message) string
MessageFQN returns a fully qualified name of a message descriptor
func ReadConfig ¶
func ReadConfig(protoconfRoot string, configName string) (*protoconfvalue.ProtoconfValue, error)
ReadConfig reads a materialized config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.