types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseType

type BaseType struct{}

func (*BaseType) Mapper

func (b *BaseType) Mapper(p *def.ParamWarp) reflect.Value

func (*BaseType) Register

func (b *BaseType) Register() []reflect.Type

type BigType

type BigType struct {
}

func (BigType) Mapper

func (f BigType) Mapper(param *def.ParamWarp) reflect.Value

func (BigType) Register

func (f BigType) Register() []reflect.Type

type FileType

type FileType struct{}

func (FileType) Mapper

func (f FileType) Mapper(param *def.ParamWarp) reflect.Value

func (FileType) Register

func (f FileType) Register() []reflect.Type

type HeadType

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

func (HeadType) Add

func (f HeadType) Add(key, value string)

func (*HeadType) Cookie added in v0.1.0

func (f *HeadType) Cookie(name string) (*http.Cookie, error)

func (HeadType) Get

func (f HeadType) Get(key string) string

func (HeadType) Mapper

func (f HeadType) Mapper(param *def.ParamWarp) reflect.Value

func (HeadType) Register

func (f HeadType) Register() []reflect.Type

func (*HeadType) SetCookie added in v0.1.0

func (f *HeadType) SetCookie(cookie *http.Cookie)

func (HeadType) Values

func (f HeadType) Values(key string) []string

type HttpType

type HttpType struct{}

func (HttpType) Mapper

func (f HttpType) Mapper(param *def.ParamWarp) reflect.Value

func (HttpType) Register

func (f HttpType) Register() []reflect.Type

type TypeRequire

type TypeRequire struct {
	BaseType
}

func (*TypeRequire) Mapper

func (b *TypeRequire) Mapper(p *def.ParamWarp) reflect.Value

func (*TypeRequire) Register

func (b *TypeRequire) Register() []reflect.Type

type TypeRequireG added in v0.1.0

type TypeRequireG struct {
	TypeRequire
}

func (*TypeRequireG) Mapper added in v0.1.0

func (b *TypeRequireG) Mapper(p *def.ParamWarp) reflect.Value

func (*TypeRequireG) Register added in v0.1.0

func (b *TypeRequireG) Register() []reflect.Type

type WSType added in v0.1.0

type WSType struct {
}

func (*WSType) Mapper added in v0.1.0

func (*WSType) Mapper(param *def.ParamWarp) reflect.Value

Mapper implements def.Adapter.

func (*WSType) Register added in v0.1.0

func (*WSType) Register() []reflect.Type

Register implements def.Adapter.

Jump to

Keyboard shortcuts

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