handler

package
v0.0.0-...-48e72fb Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

* @Author: Matheus Leal * @Date: 2022-07-01 22:53:39 * @Last Modified by: Matheus Leal * @Last Modified time: 2022-07-03 14:12:04

* @Author: Matheus Leal * @Date: 2022-07-01 22:53:53 * @Last Modified by: Matheus Leal * @Last Modified time: 2022-07-03 14:12:29

* @Author: Matheus Leal * @Date: 2022-07-01 22:54:00 * @Last Modified by: Matheus Leal * @Last Modified time: 2022-07-03 14:12:47

* @Author: Matheus Leal * @Date: 2022-07-01 22:53:33 * @Last Modified by: Matheus Leal * @Last Modified time: 2022-07-03 14:12:55

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthcheckHandler

func HealthcheckHandler(w http.ResponseWriter, req *http.Request, _ httprouter.Params)

*

  • Healthcheck HTTP route handler. *
  • @param w http.ResponseWriter The header map that will be sent by WriteHeader
  • req http.Request Specifies the HTTP method
  • @return

func IndexHandler

func IndexHandler(w http.ResponseWriter, req *http.Request, _ httprouter.Params)

*

  • Index HTTP route handler. *
  • @param w http.ResponseWriter The header map that will be sent by WriteHeader
  • req http.Request Specifies the HTTP method
  • @return

func SegmentCreate

func SegmentCreate(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

*

  • Segment HTTP route handler. *
  • @param w http.ResponseWriter The header map that will be sent by WriteHeader
  • req http.Request Specifies the HTTP method
  • @return

func TrackCreate

func TrackCreate(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

*

  • Track HTTP route handler. *
  • @param w http.ResponseWriter The header map that will be sent by WriteHeader
  • req http.Request Specifies the HTTP method
  • @return

Types

type Index

type Index struct {
	Description string `json:"description"`
	Href        string `json:"href"`
}
type Link struct {
	Description string `json:"description"`
	Method      []Link `json:"method"`
}

type NewSegment

type NewSegment struct {
	Reference      string
	Identification string
	Data           string
}

type NewTrack

type NewTrack struct {
	Reference      string
	Identification string
}

Jump to

Keyboard shortcuts

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