Documentation ¶ Index ¶ func Gen(c *coder.Coder, r coder.CompileResult) type Compiler func (*Compiler) Compile(lines []string) (coder.CompileResult, error) func (*Compiler) Name() string type Config type Exchange type Pub type Queue type QueueBind type RMQFile func Compile(config *cfg.Config) (*RMQFile, error) type Sub Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Gen ¶ func Gen(c *coder.Coder, r coder.CompileResult) Types ¶ type Compiler ¶ type Compiler struct { } func (*Compiler) Compile ¶ func (*Compiler) Compile(lines []string) (coder.CompileResult, error) func (*Compiler) Name ¶ func (*Compiler) Name() string type Config ¶ type Config struct { Durable bool AutoDelete bool Exclusive bool Internal bool Nowait bool } type Exchange ¶ type Exchange struct { Name string Kind string Config Config } type Pub ¶ type Pub struct { Comments []string Name string GoType string Exchange string } type Queue ¶ type Queue struct { Name string Config Config Binds []QueueBind } type QueueBind ¶ type QueueBind struct { ExhName string Key string Nowait bool } type RMQFile ¶ type RMQFile struct { cfg.CodeBase Exchanges []Exchange Queues []Queue Structs []coder.GoStruct Subs []Sub Pubs []Pub } func Compile ¶ func Compile(config *cfg.Config) (*RMQFile, error) type Sub ¶ type Sub struct { Comments []string Name string GoType string Queue string } Source Files ¶ View all Source files code.go compile.go inter.go Click to show internal directories. Click to hide internal directories.