MCPcopy Create free account

hub / github.com/devopsfaith/api2html / types & classes

Types & classes54 in github.com/devopsfaith/api2html

↓ 1 callersFuncTypeRendererFunc
RendererFunc is a function implementing the Renderer interface
engine/engine.go:83
↓ 1 callersTypeAliasTmplScanner
generator/scan.go:23
FuncTypeBackend
Backend defines the signature of the function that creates a response for a request to a given backend
engine/engine.go:75
StructBasicGenerator
generator/generator.go:28
InterfaceCollector
Collector defines the interface for collecting config and translation data
generator/collector.go:15
StructConfig
Config is a struct with all the required definitions for building an API2HTML engine
engine/engine.go:31
StructData
Data contains all the collected data
generator/collector.go:24
FuncTypeDecoder
Decoder defines the signature for response decoder functions
engine/decode.go:9
FuncTypeDumper
func(string, string, Data) error
generator/render.go:25
StructDynamicResponseGenerator
DynamicResponseGenerator is a ResponseGenerator that creates a response by adding the decoded data returned by the Backend wo the default response val
engine/response.go:75
StructErrorHandler
ErrorHandler is a Handler that writes the injected content. It's intended to be dispatched by the gin special handlers (NoRoute, NoMethod) but they ca
engine/handler.go:176
StructErrorRenderer
ErrorRenderer is a renderer that always returns the injected error
engine/engine.go:97
StructFactory
Factory is a struct able to build api2html engines
engine/factory.go:25
InterfaceGenerator
generator/generator.go:11
StructHandler
Handler is a struct that combines a renderer and a response generator for handling http requests. The handler is able to keep itself subscribed to th
engine/handler.go:98
StructHandlerConfig
HandlerConfig defines a Handler
engine/handler.go:16
StructLayoutMustacheRenderer
LayoutMustacheRenderer is a mustache renderer composing a mustache template with a layout
engine/mustache.go:68
TypeAliasMap
generator/collector.go:38
StructMustachePageFactory
MustachePageFactory is a component that sets up the gin engine and the template store
engine/page.go:16
StructMustacheRenderer
MustacheRenderer is a simple mustache renderer with a single mustache template
engine/mustache.go:45
StructNewRelic
NewRelic contains the info regarding the app name and the newrelic license key
engine/engine.go:50
StructPage
Page defines the behaviour of the engine for a given URL pattern
engine/engine.go:56
StructPublicFolder
PublicFolder contains the info regarding the static contents to be served
engine/engine.go:44
StructRender
generator/render.go:27
InterfaceRenderer
generator/render.go:13
InterfaceRenderer
Renderer defines the interface for the template renderers
engine/engine.go:78
StructResponseContext
ResponseContext is the struct ready to rendered and returned to the Handler
engine/response.go:14
FuncTypeResponseGenerator
ResponseGenerator is a function that, given a gin request, returns a response struc and an error
engine/response.go:40
InterfaceScanner
generator/scan.go:10
StructSimpleCollector
generator/collector.go:53
InterfaceSkel
Skel defines the interface for creating skeleton files
skeleton/skeleton.go:50
StructStaticHandler
StaticHandler is a Handler that writes the injected content
engine/handler.go:150
StructStaticResponseGenerator
StaticResponseGenerator is a ResponseGenerator that creates a response just by adding the default response values to the ResponseContext and a zero va
engine/response.go:50
StructSubscription
Subscription is a struct to be used to be notified after a change in the watched renderer
engine/engine.go:89
StructTemplateStore
TemplateStore manages the loaded templates and the subscriptions
engine/template_store.go:23
StructTmplFolder
generator/scan.go:14
TypeAliasdummyScanner
func TestRender(t *testing.T) { dir, err := ioutil.TempDir("test", "render_output") if err != nil { log.Fatal(err) } defer os.RemoveAll(dir) //
generator/render_test.go:99
FuncTypeengineFactory
func(cfgPath string, devel bool) (engineWrapper, error)
cmd/serve.go:41
InterfaceengineWrapper
cmd/serve.go:37
StructerroredEngine
cmd/serve_test.go:83
StructerroredGenerator
cmd/generate_test.go:185
StructerroredSkel
cmd/skeleton_test.go:49
FuncTypegeneratorFactory
func(basePath string, ignoreRegex string) generator.Generator
cmd/generate.go:46
StructgeneratorWatchWrapper
cmd/generate.go:68
StructgeneratorWrapper
cmd/generate.go:52
StructpartialProvider
engine/mustache.go:86
StructserveWrapper
cmd/serve.go:47
StructsimpleSkel
cmd/skeleton_test.go:57
FuncTypeskelFactory
func(outputPath string) skeleton.Skel
cmd/skeleton.go:41
StructskelWrapper
cmd/skeleton.go:47
StructspyGenerator
cmd/generate_test.go:193
StructstatikSkel
skeleton/skeleton.go:54
StructtemplateStore
engine/template_store.go:59
StructtplHelper
engine/response.go:120