swagger

package
v0.0.0-...-28c2f68 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

README

Go API Server for swagger

Planet Pulse is an API designed to serve climate data pulled from NOAA's Global Monitoring Laboratory FTP server. This API is based on the OpenAPI v3 specification.

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: 0.1.0
  • Build date: 2021-07-21T22:57:10.672601-04:00[America/New_York]
Running the server

To run the server, follow these simple steps:

go run main.go

Documentation

Overview

* Planet Pulse * * Planet Pulse is an API designed to serve climate data pulled from NOAA's Global Monitoring Laboratory FTP server. This API is based on the OpenAPI v3 specification. * * API version: 0.1.0 * Contact: planetpulse.api@gmail.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Planet Pulse * * Planet Pulse is an API designed to serve climate data pulled from NOAA's Global Monitoring Laboratory FTP server. This API is based on the OpenAPI v3 specification. * * API version: 0.1.0 * Contact: planetpulse.api@gmail.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Planet Pulse * * Planet Pulse is an API designed to serve climate data pulled from NOAA's Global Monitoring Laboratory FTP server. This API is based on the OpenAPI v3 specification. * * API version: 0.1.0 * Contact: planetpulse.api@gmail.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Planet Pulse * * Planet Pulse is an API designed to serve climate data pulled from NOAA's Global Monitoring Laboratory FTP server. This API is based on the OpenAPI v3 specification. * * API version: 0.1.0 * Contact: planetpulse.api@gmail.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Planet Pulse * * Planet Pulse is an API designed to serve climate data pulled from NOAA's Global Monitoring Laboratory FTP server. This API is based on the OpenAPI v3 specification. * * API version: 0.1.0 * Contact: planetpulse.api@gmail.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Planet Pulse * * Planet Pulse is an API designed to serve climate data pulled from NOAA's Global Monitoring Laboratory FTP server. This API is based on the OpenAPI v3 specification. * * API version: 0.1.0 * Contact: planetpulse.api@gmail.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Co2WeeklyGet

func Co2WeeklyGet(w http.ResponseWriter, r *http.Request)

func Co2WeeklyIdGet

func Co2WeeklyIdGet(w http.ResponseWriter, r *http.Request)

func HealthGet

func HealthGet(w http.ResponseWriter, r *http.Request)

func Index

func Index(w http.ResponseWriter, r *http.Request)

func Logger

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

func NewRouter

func NewRouter() *mux.Router

Types

type ModelError

type ModelError struct {
	Code int32 `json:"code"`

	Message string `json:"message"`
}

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc http.HandlerFunc
}

type Routes

type Routes []Route

type WeeklyDataPoint

type WeeklyDataPoint struct {
}

Jump to

Keyboard shortcuts

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