Documentation ¶
Index ¶
Constants ¶
View Source
const ( ArrayAsStreamAttributeName = "aproto:array-as-stream" ServiceNameReplaceAttributeName = "aproto:service-name-replace" )
Variables ¶
View Source
var ProtoIdentifierRegex = regexp.MustCompile(`[A-Za-z_][\w_]*`)
Functions ¶
Types ¶
type ArrayAsStreamAttribute ¶
type ArrayAsStreamAttribute struct {
Value bool `json:"value"`
}
{ "name": "aproto:array-as-stream", "value": { "value" : true } }
type ServiceNameReplaceAttribute ¶
type ServiceNameReplaceAttribute struct {
RegexMaps []ServiceNameReplaceAttributeRegexMap `json:"regexMaps"`
}
{ "name": "aproto:service-name-replace", "value": { "regexMaps" : [{"regex": "[^\\w_]", "replace": "_"}] } }
type UnsupportedTypeError ¶
type UnsupportedTypeError error
Click to show internal directories.
Click to hide internal directories.