Versions in this module Expand all Collapse all v1 v1.0.3 Mar 22, 2026 v1.0.2 Mar 22, 2026 v1.0.1 Mar 22, 2026 v1.0.0 Mar 22, 2026 Changes in this version + const ProtoPrefix + const ProtoVersion + func ClientCLIFiles(genpkg string, services *ServicesData) []*codegen.File + func ClientFiles(genpkg string, services *ServicesData) []*codegen.File + func ClientTypeFiles(genpkg string, services *ServicesData) []*codegen.File + func ExampleCLIFiles(genpkg string, services *ServicesData) []*codegen.File + func ExampleServerFiles(genpkg string, services *ServicesData) []*codegen.File + func ProtoFiles(genpkg string, services *ServicesData) []*codegen.File + func RunGRPCDSL(t *testing.T, dsl func()) *expr.RootExpr + func ServerFiles(genpkg string, services *ServicesData) []*codegen.File + func ServerTypeFiles(genpkg string, services *ServicesData) []*codegen.File + type ConvertData struct + Init *InitData + SrcName string + SrcRef string + TgtName string + TgtRef string + Validation *ValidationData + type EndpointData struct + ClientInterface string + ClientMethodName string + ClientStream *StreamData + ClientStruct string + Errors []*ErrorData + MessageSchemes service.SchemesData + MetadataSchemes service.SchemesData + Method *service.MethodData + PayloadRef string + PayloadType expr.DataType + PkgName string + Request *RequestData + Response *ResponseData + ResultRef string + ServerInterface string + ServerStream *StreamData + ServerStruct string + ServiceName string + ServicePkgName string + ViewedResultRef string + type ErrorData struct + Name string + Ref string + Response *ResponseData + StatusCode string + type InitArgData struct + DefaultValue any + Description string + Example any + FieldName string + FieldType expr.DataType + Name string + Pointer bool + Ref string + Required bool + Type expr.DataType + TypeName string + TypeRef string + Validate string + type InitData struct + Args []*InitArgData + Code string + Description string + Name string + ReturnIsStruct bool + ReturnTypePkg string + ReturnTypeRef string + ReturnVarName string + type MetadataData struct + AttributeName string + DefaultValue any + Description string + Example any + FieldName string + FieldType expr.DataType + Map bool + MapStringSlice bool + Name string + Pointer bool + Required bool + Slice bool + StringSlice bool + Type expr.DataType + TypeName string + TypeRef string + Validate string + VarName string + type RequestData struct + CLIArgs []*InitArgData + ClientConvert *ConvertData + Description string + Message *service.UserTypeData + Metadata []*MetadataData + ServerConvert *ConvertData + type ResponseData struct + ClientConvert *ConvertData + Description string + Headers []*MetadataData + Message *service.UserTypeData + ServerConvert *ConvertData + StatusCode string + Trailers []*MetadataData + type ServiceData struct + ClientInit string + ClientInterface string + ClientInterfaceInit string + ClientStruct string + Description string + Endpoints []*EndpointData + Messages []*service.UserTypeData + Name string + PkgName string + ProtoImports []string + Scope *codegen.NameScope + ServerInit string + ServerInterface string + ServerStruct string + Service *service.Data + func (sd *ServiceData) Endpoint(name string) *EndpointData + func (sd *ServiceData) HasStreamingEndpoint() bool + func (sd *ServiceData) HasUnaryEndpoint() bool + type ServicesData struct + GRPCServices map[string]*ServiceData + func CreateGRPCServices(root *expr.RootExpr) *ServicesData + func NewServicesData(services *service.ServicesData) *ServicesData + func (d *ServicesData) Get(name string) *ServiceData + type StreamData struct + Endpoint *EndpointData + Interface string + MustClose bool + RecvConvert *ConvertData + RecvDesc string + RecvName string + RecvRef string + RecvWithContextDesc string + RecvWithContextName string + SendConvert *ConvertData + SendDesc string + SendName string + SendRef string + SendWithContextDesc string + SendWithContextName string + ServiceInterface string + Type string + VarName string + type ValidationData struct + ArgName string + Def string + Kind validateKind + Name string + SrcName string + SrcRef string