constants

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_SERVER_IP_ADDRESS = "127.0.0.1"
	DEFAULT_SERVER_PORT       = 4433
)
View Source
const (
	DEFAULT_H1_SERVER_IP_ADDRESS = "127.0.0.1"
	DEFAULT_H1_SERVER_PORT       = 4431
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKeys

type ContextKeys string
const (
	STREAMING_RESPONSE_CHANNEL_CONTEXT_KEY ContextKeys = "response_channel"
)

type HttpMethodTypes

type HttpMethodTypes string
const (
	HTTP_METHOD_GET     HttpMethodTypes = "GET"
	HTTP_METHOD_POST    HttpMethodTypes = "POST"
	HTTP_METHOD_PUT     HttpMethodTypes = "PUT"
	HTTP_METHOD_PATCH   HttpMethodTypes = "PATCH"
	HTTP_METHOD_DELETE  HttpMethodTypes = "DELETE"
	HTTP_METHOD_HEAD    HttpMethodTypes = "HEAD"
	HTTP_METHOD_OPTIONS HttpMethodTypes = "OPTIONS"
	HTTP_METHOD_CONNECT HttpMethodTypes = "CONNECT"
	HTTP_METHOD_TRACE   HttpMethodTypes = "TRACE"
)

type ResponseTypes

type ResponseTypes int
const (
	RESPONSE_TYPE_BASE_RESPONSE      ResponseTypes = iota
	RESPONSE_TYPE_STREAMING_RESPONSE ResponseTypes = 1
	RESPONSE_TYPE_JSON_RESPONSE      ResponseTypes = 2
)

Jump to

Keyboard shortcuts

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