swagger

package
v0.0.0-...-a816b21 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API Server for swagger

Mqtts service

Overview

This server was generated by the [swagger-codegen] (https://github.com/swagger-api/swagger-codegen) project.
By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

To see how to make this your own, look here:

README

  • API version: 1.0.0
  • Build date: 2020-06-17T05:21:19.636Z[GMT]
Running the server

To run the server, follow these simple steps:

go run main.go

Documentation

Overview

* Mqtts API * * Mqtts service * * API version: 1.0.0

* Mqtts API * * Mqtts service * * API version: 1.0.0

* Mqtts API * * Mqtts service * * API version: 1.0.0

* Mqtts API * * Mqtts service * * API version: 1.0.0

* Mqtts API * * Mqtts service * * API version: 1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(myroute []utils.Route)

AddRoutes add new routes

func Logger

func Logger(inner http.Handler, name string) http.Handler

Logger Logs each request

func NewRouter

func NewRouter() *mux.Router

NewRouter create anew Router

Types

type AccessControl

type AccessControl struct {
	// dasdasdsa.
	Anonymous bool `json:"anonymous"`
}

Access Control interface

type Security

type Security struct {
	// Indicate if SSl is Enabled or not
	SSL bool `json:"SSL"`
	// Indicates if Client verification is enabled or not
	ClientVerification bool `json:"clientVerification"`
}

SSL interface

Jump to

Keyboard shortcuts

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