http_entry

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChildEntry

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

func NewChildEntry

func NewChildEntry(parent *Entry, index int, pre string, ReaderIndex IReaderIndex) *ChildEntry

func (*ChildEntry) Children

func (c *ChildEntry) Children(child string) []eosc.IEntry

func (*ChildEntry) Read

func (c *ChildEntry) Read(pattern string) string

type Entry

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

func NewEntry

func NewEntry(ctx http_service.IHttpContext) *Entry

func (*Entry) Children

func (e *Entry) Children(child string) []eosc.IEntry

func (*Entry) Read

func (e *Entry) Read(pattern string) string

type Fields

type Fields map[string]IReader

func (Fields) Read

func (f Fields) Read(name string, ctx http_service.IHttpContext) (string, bool)

type IProxyReader

type IProxyReader interface {
	ReadProxy(name string, proxy http_service.IProxy) (string, bool)
}

type IReader

type IReader interface {
	Read(name string, ctx http_service.IHttpContext) (string, bool)
}

type IReaderIndex

type IReaderIndex interface {
	ReadByIndex(index int, name string, ctx http_service.IHttpContext) (string, bool)
}

type ProxyReadFunc

type ProxyReadFunc func(name string, proxy http_service.IProxy) (string, bool)

func (ProxyReadFunc) ReadProxy

func (p ProxyReadFunc) ReadProxy(name string, proxy http_service.IProxy) (string, bool)

type ProxyReaders

type ProxyReaders map[string]IProxyReader

func (ProxyReaders) Read

func (p ProxyReaders) Read(name string, ctx http_service.IHttpContext) (string, bool)

func (ProxyReaders) ReadByIndex

func (p ProxyReaders) ReadByIndex(index int, name string, ctx http_service.IHttpContext) (string, bool)

type ReadFunc

type ReadFunc func(name string, ctx http_service.IHttpContext) (string, bool)

func (ReadFunc) Read

func (f ReadFunc) Read(name string, ctx http_service.IHttpContext) (string, bool)

Jump to

Keyboard shortcuts

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