exampleGet

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1HttpServer

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

func NewV1HttpServer

func NewV1HttpServer(getExample getExample.Contract) *V1HttpServer

NewV1HttpServer generates new v1 http server

func (*V1HttpServer) JSON

func (v *V1HttpServer) JSON(w http.ResponseWriter, r *http.Request)

JSON handles json response

type V1Payload

type V1Payload struct {
	ID uint64 `urlQuery:"id"`
}

Jump to

Keyboard shortcuts

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