web_gin

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindWebService

func BindWebService(server *web.WebServer)

Types

type WebServiceGin

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

func (*WebServiceGin) ClientIP

func (this_ *WebServiceGin) ClientIP(request *web.WebRequest) string

func (*WebServiceGin) GetHeader

func (this_ *WebServiceGin) GetHeader(request *web.WebRequest, key string) string

func (*WebServiceGin) GetParam

func (this_ *WebServiceGin) GetParam(request *web.WebRequest, key string) string

func (*WebServiceGin) Init

func (this_ *WebServiceGin) Init() (err error)

func (*WebServiceGin) RawQuery

func (this_ *WebServiceGin) RawQuery(request *web.WebRequest) string

func (*WebServiceGin) RequestRead

func (this_ *WebServiceGin) RequestRead(request *web.WebRequest) []byte

func (*WebServiceGin) ResponseWrite

func (this_ *WebServiceGin) ResponseWrite(request *web.WebRequest, data []byte)

func (*WebServiceGin) ResponseWriteByReader

func (this_ *WebServiceGin) ResponseWriteByReader(request *web.WebRequest, reader io.Reader) (written int64, err error)

func (*WebServiceGin) Serve

func (this_ *WebServiceGin) Serve() (err error)

func (*WebServiceGin) SetHeader

func (this_ *WebServiceGin) SetHeader(request *web.WebRequest, key, value string)

func (*WebServiceGin) SetStatus

func (this_ *WebServiceGin) SetStatus(request *web.WebRequest, status int)

func (*WebServiceGin) UserAgent

func (this_ *WebServiceGin) UserAgent(request *web.WebRequest) string

Jump to

Keyboard shortcuts

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