go119

package
v0.0.0-...-a784d27 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SomeFunct

func SomeFunct(rw http.ResponseWriter, req *http.Request)

SomeFunc do something

swagger:operation POST /api/v1/somefunc someFunc

Do something

---
x-codeSamples:
- lang: 'curl'
  source: |
    curl -u "${LOGIN}:${PASSWORD}" -d '{"key": "value"}' -X POST   "https://{host}/api/v1/somefunc"
    curl -u "${LOGIN}:${PASSWORD}" -d '{"key2": "value2"}' -X POST   "https://{host}/api/v1/somefunc"
responses:
  '200':
    description: "Some func"
    examples:
      application/json:
        key: "value"
  '400':
    $ref: "#/responses/ErrorResponse"
  '503':
    $ref: "#/responses/ErrorResponse"

func SomeFunctabs

func SomeFunctabs(rw http.ResponseWriter, req *http.Request)

SomeFunc do something

swagger:operation POST /api/v1/somefuncTabs someFuncTabs

Do something

---
x-codeSamples:
- lang: 'curl'
	source: |
		curl -u "${LOGIN}:${PASSWORD}" -d '{"key": "value"}' -X POST   "https://{host}/api/v1/somefunc"
		curl -u "${LOGIN}:${PASSWORD}" -d '{"key2": "value2"}' -X POST   "https://{host}/api/v1/somefunc"
responses:
	'200':
		description: "Some func"
		examples:
			application/json:
				key: "value"
	'400':
		$ref: "#/responses/ErrorResponse"
	'503':
		$ref: "#/responses/ErrorResponse"

Types

This section is empty.

Jump to

Keyboard shortcuts

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