Documentation ¶
Index ¶
- func AddMethodImports(file *files.GoFile, method types.Method)
- func AddTypesImports(file file.File, service types.Service)
- func FilteredArguments(args []*types.Argument, filter func(arg *types.Argument) bool) (as []*types.Argument)
- func FilteredFields(fields []*types.Field, filter func(field *types.Field) bool) (fs []*types.Field)
- func FilteredMethods(methods []types.Method, filter func(method types.Method) bool) (ms []types.Method)
- func GenerateExportedStruct(file *files.GoFile, name string, fields []*types.Field)
- func GenerateFunc(file *files.GoFile, receiver string, name string, args []string, ...)
- func GenerateStruct(file *files.GoFile, name string, fields []*types.Field)
- func GenerateUnexportedStruct(file *files.GoFile, name string, fields []*types.Field)
- func GetExportedMethodSignature(receiver string, method types.Method) string
- func GetFieldTagsString(tags map[string][]string) string
- func GetFuncSignature(receiver string, name string, args []string, results []string) string
- func GetLoggedArgumentsForMethod(method types.Method) (args []*types.Argument)
- func GetLoggedArgumentsLenForMethod(method types.Method) (args []*types.Argument)
- func GetLoggedResultsForMethod(method types.Method) (results []*types.Field)
- func GetLoggedResultsLenForMethod(method types.Method) (fields []*types.Field)
- func GetMethodArguments(args []*types.Argument) []string
- func GetMethodArgumentsFromRequestInCall(args []*types.Argument) (a []string)
- func GetMethodArgumentsInCall(args []*types.Argument) (a []string)
- func GetMethodResults(results []*types.Field) []string
- func GetMethodsWithCachingEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithGRPCClientEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithGRPCEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithGRPCServerEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithHTTPClientEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithHTTPEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithHTTPServerEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithLoggingEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithMethodStubsEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithMetricsEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithMiddlewareEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithTracingEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithValidatingEnabled(service types.Service) (ms []types.Method)
- func GetMethodsWithValidatorsEnabled(service types.Service) (ms []types.Method)
- func GetName(name string, alias string) string
- func GetResultsVars(results []*types.Field) (a []string)
- func GetResultsVarsFromResponse(results []*types.Field) (a []string)
- func GetUnexportedMethodSignature(receiver string, method types.Method) string
- func HasLoggedArguments(method types.Method) bool
- func HasLoggedErrors(service types.Service) bool
- func HasLoggedResults(method types.Method) bool
- func HasLoggeds(service types.Service) bool
- func IsCachaeble(service types.Service) bool
- func IsCachingEnabled(service types.Service) bool
- func IsCircuitBreakingEnabled(service types.Service) bool
- func IsCounterMetricEnabled(service types.Service) bool
- func IsFrequencyMetricEnabled(service types.Service) bool
- func IsGRPCClientEnabled(service types.Service) bool
- func IsGRPCEnabled(service types.Service) bool
- func IsGRPCServerEnabled(service types.Service) bool
- func IsHTTPClientEnabled(service types.Service) bool
- func IsHTTPEnabled(service types.Service) bool
- func IsHTTPServerEnabled(service types.Service) bool
- func IsLatencyMetricEnabled(service types.Service) bool
- func IsLoggingEnabled(service types.Service) bool
- func IsMethodStubsEnabled(service types.Service) bool
- func IsMetricsEnabled(service types.Service) bool
- func IsMiddlewareEnabled(service types.Service) bool
- func IsRateLimitingEnabled(service types.Service) bool
- func IsRecoveringEnabled(service types.Service) bool
- func IsServerEnabled(service types.Service) bool
- func IsTracingEnabled(service types.Service) bool
- func IsValidatable(service types.Service) bool
- func IsValidatingEnabled(service types.Service) bool
- func IsValidatorsEnabled(service types.Service) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilteredArguments ¶
func FilteredFields ¶
func FilteredMethods ¶
func GenerateExportedStruct ¶
func GenerateFunc ¶
func GetFieldTagsString ¶
func GetFuncSignature ¶
func GetMethodArguments ¶
func GetMethodResults ¶
func GetResultsVars ¶
func HasLoggedArguments ¶
func HasLoggedErrors ¶
func HasLoggedResults ¶
func HasLoggeds ¶
func IsCachaeble ¶
func IsCachingEnabled ¶
func IsCounterMetricEnabled ¶
func IsGRPCClientEnabled ¶
func IsGRPCEnabled ¶
func IsGRPCServerEnabled ¶
func IsHTTPClientEnabled ¶
func IsHTTPEnabled ¶
func IsHTTPServerEnabled ¶
func IsLatencyMetricEnabled ¶
func IsLoggingEnabled ¶
func IsMethodStubsEnabled ¶
func IsMetricsEnabled ¶
func IsMiddlewareEnabled ¶
func IsRateLimitingEnabled ¶
func IsRecoveringEnabled ¶
func IsServerEnabled ¶
func IsTracingEnabled ¶
func IsValidatable ¶
func IsValidatingEnabled ¶
func IsValidatorsEnabled ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.