rest

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package rest exposes a simple REST API for communicating with the GRPC package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func (*Handler) Filter

func (h *Handler) Filter() func(string) string

Filter returns a function to filter the swagger path

func (*Handler) SwaggerTags

func (h *Handler) SwaggerTags() []string

SwaggerTags list the names of the service tags declared in the swagger json implemented by this service

func (*Handler) Syslog

func (h *Handler) Syslog(req *restful.Request, rsp *restful.Response)

Syslog retrieves the technical logs items matched by the query and export them in JSON, XLSX or CSV format

Jump to

Keyboard shortcuts

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