Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagMark = template.TagMark MicrogenMainTag = template.MicrogenMainTag ProtobufTag = "protobuf" GRPCClientAddr = "grpc-addr" MiddlewareTag = template.MiddlewareTag LoggingMiddlewareTag = template.LoggingMiddlewareTag RecoveringMiddlewareTag = template.RecoveringMiddlewareTag HttpTag = template.HttpTag HttpServerTag = template.HttpServerTag HttpClientTag = template.HttpClientTag GrpcTag = template.GrpcTag GrpcServerTag = template.GrpcServerTag GrpcClientTag = template.GrpcClientTag MainTag = template.MainTag ErrorLoggingMiddlewareTag = template.ErrorLoggingMiddlewareTag TracingMiddlewareTag = template.TracingMiddlewareTag CachingMiddlewareTag = template.CachingMiddlewareTag JSONRPCTag = template.JSONRPCTag JSONRPCServerTag = template.JSONRPCServerTag JSONRPCClientTag = template.JSONRPCClientTag Transport = template.Transport TransportClient = template.TransportClient TransportServer = template.TransportServer MetricsMiddlewareTag = template.MetricsMiddlewareTag ServiceDiscoveryTag = template.ServiceDiscoveryTag HttpMethodTag = template.HttpMethodTag HttpMethodPath = template.HttpMethodPath )
View Source
const (
Version = "0.9.1"
)
Variables ¶
View Source
var ( EmptyTemplateError = errors.New("empty template") EmptyStrategyError = errors.New("empty strategy") )
Functions ¶
func ValidateInterface ¶
Types ¶
type GenerationUnit ¶
type GenerationUnit struct {
// contains filtered or unexported fields
}
func ListTemplatesForGen ¶
func NewGenUnit ¶
func (GenerationUnit) Path ¶
func (g GenerationUnit) Path() string
Click to show internal directories.
Click to hide internal directories.