http

package
v1.6.14 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLogSuccess    = "_"
	CLogMethod     = "method"
	CLogDecodeBody = "decode_body"
	CLogRedirect   = "redirect"
)

Variables

This section is empty.

Functions

func GetLogFunc added in v1.5.19

func GetLogFunc() logger.ILogFunc

Types

type ILogBuilder added in v1.5.19

type ILogBuilder interface {
	ILogGetterFactory

	WithMessage(string) ILogBuilder
}

func NewLogBuilder added in v1.5.19

func NewLogBuilder(pService string, pR *http.Request) ILogBuilder

type ILogGetter added in v1.5.19

type ILogGetter interface {
	GetService() string
	GetMethod() string
	GetPath() string
	GetConn() string
	GetMessage() string
}

type ILogGetterFactory added in v1.5.21

type ILogGetterFactory interface {
	Get() ILogGetter
}

Jump to

Keyboard shortcuts

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