swaggergrp

package
v0.0.0-...-8401909 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package swaggergrp maintains the group of handlers for serving swagger documentation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

Handlers manages the set of swagger endpoints.

func NewIndex

func NewIndex(hostProtocol string, hostEndPoint string, fileName string) (Handlers, error)

func (Handlers) ServeDoc

func (h Handlers) ServeDoc(ctx context.Context, w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL