Versions in this module Expand all Collapse all v1 v1.0.0 Dec 4, 2022 Changes in this version + var ErrFormat = errors.New("invalid protocol format") + var ErrInvaildPath = errors.New("invaild path") + var ErrNotSupport = errors.New("unsupported protocol") + func IsSupportedForSchema(schema string) bool + func IsSupportedForType(t ProtocolType) bool + type DSL struct + Path string + Schema string + func Parse(p string) (*DSL, error) + type Protocol struct + Name string + Type ProtocolType + type ProtocolType int + const PT_FILE + const PT_UNKNOWN + func ProtocolTypeBySchema(schema string) ProtocolType