Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct {
Messages []Message
}
Protocol describes a protocol.
func ParseReader ¶
ParseReader parses a protocol definition from a reader.
func (*Protocol) Generate ¶
Generate turns this protocol into code. The package name for the generated code must be specified.
func (*Protocol) ResolveType ¶
ResolveType resolves a HOPP type name to a Go type. For now, it supports all data types defined in TAPE.
func (*Protocol) UnmarshalText ¶
UnmarshalText unmarshals markdown-formatted text data into the protocol.
Click to show internal directories.
Click to hide internal directories.