Versions in this module Expand all Collapse all v0 v0.2.0 May 19, 2018 Changes in this version + var Message_Level_name = map[int32]string + var Message_Level_value = map[string]int32 + func HandleResponse(response *Response, outputLocation string) error + type Environment struct + Invocation string + Request *Request + Response *Response + RunningAsPlugin bool + func NewEnvironment() (env *Environment, err error) + func (env *Environment) RespondAndExit() + func (env *Environment) RespondAndExitIfError(err error) + type File struct + Data []byte + Name string + func (*File) Descriptor() ([]byte, []int) + func (*File) ProtoMessage() + func (m *File) GetData() []byte + func (m *File) GetName() string + func (m *File) Reset() + func (m *File) String() string + type Message struct + Code string + Keys []string + Level Message_Level + Text string + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (m *Message) GetCode() string + func (m *Message) GetKeys() []string + func (m *Message) GetLevel() Message_Level + func (m *Message) GetText() string + func (m *Message) Reset() + func (m *Message) String() string + type Message_Level int32 + const Message_ERROR + const Message_FATAL + const Message_INFO + const Message_UNKNOWN + const Message_WARNING + func (Message_Level) EnumDescriptor() ([]byte, []int) + func (x Message_Level) String() string + type Messages struct + Messages []*Message + func (*Messages) Descriptor() ([]byte, []int) + func (*Messages) ProtoMessage() + func (m *Messages) GetMessages() []*Message + func (m *Messages) Reset() + func (m *Messages) String() string + type Parameter struct + Name string + Value string + func (*Parameter) Descriptor() ([]byte, []int) + func (*Parameter) ProtoMessage() + func (m *Parameter) GetName() string + func (m *Parameter) GetValue() string + func (m *Parameter) Reset() + func (m *Parameter) String() string + type Request struct + CompilerVersion *Version + Models []*google_protobuf.Any + OutputPath string + Parameters []*Parameter + SourceName string + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetCompilerVersion() *Version + func (m *Request) GetModels() []*google_protobuf.Any + func (m *Request) GetOutputPath() string + func (m *Request) GetParameters() []*Parameter + func (m *Request) GetSourceName() string + func (m *Request) Reset() + func (m *Request) String() string + func (request *Request) AddModel(modelType string, model proto.Message) error + type Response struct + Errors []string + Files []*File + Messages []*Message + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetErrors() []string + func (m *Response) GetFiles() []*File + func (m *Response) GetMessages() []*Message + func (m *Response) Reset() + func (m *Response) String() string + type Version struct + Major int32 + Minor int32 + Patch int32 + Suffix string + func (*Version) Descriptor() ([]byte, []int) + func (*Version) ProtoMessage() + func (m *Version) GetMajor() int32 + func (m *Version) GetMinor() int32 + func (m *Version) GetPatch() int32 + func (m *Version) GetSuffix() string + func (m *Version) Reset() + func (m *Version) String() string v0.1.0 Sep 5, 2017