Versions in this module Expand all Collapse all v1 v1.0.1 Jul 31, 2023 Changes in this version + func Handler(ch grpcdynamic.Channel, target string, methods []*desc.MethodDescriptor, ...) http.Handler + func HandlerViaReflection(ctx context.Context, cc grpc.ClientConnInterface, target string, ...) (http.Handler, error) + type Example struct + Description string + Method string + Name string + Request ExampleRequest + Service string + type ExampleMetadataPair struct + Name string + Value string + type ExampleRequest struct + Data interface{} + Metadata []ExampleMetadataPair + TimeoutSeconds float64 + func (r *ExampleRequest) MarshalJSON() ([]byte, error) + type HandlerOption interface + func AddCSS(filename string, css []byte) HandlerOption + func AddCSSFile(filename string, open func() (io.ReadCloser, error)) HandlerOption + func AddJS(filename string, js []byte) HandlerOption + func AddJSFile(filename string, open func() (io.ReadCloser, error)) HandlerOption + func PreserveHeaders(headerNames []string) HandlerOption + func ServeAsset(filename string, contents []byte) HandlerOption + func ServeAssetDirectory(dirname string, open func(filename string) (io.ReadCloser, error)) HandlerOption + func ServeAssetFile(filename string, open func() (io.ReadCloser, error)) HandlerOption + func WithCSS(css []byte) HandlerOption + func WithClientDebug(debug bool) HandlerOption + func WithDebug(debug bool) HandlerOption + func WithDefaultMetadata(headers []string) HandlerOption + func WithExampleData(data []byte) (HandlerOption, error) + func WithExamples(examples ...Example) (HandlerOption, error) + func WithIndexTemplate(tmpl *template.Template) HandlerOption + func WithInvokeVerbosity(verbosity int) HandlerOption + func WithMetadata(headers []string) HandlerOption + type WebFormContainerTemplateData struct + AddlResources []template.HTML + Target string + WebFormContents template.HTML