Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CyclicReader ¶
type CyclicReader struct {
// contains filtered or unexported fields
}
func NewCyclicReader ¶
func NewCyclicReader(rs io.ReadSeeker) *CyclicReader
type FileDataSource ¶
type FileDataSource struct {
// contains filtered or unexported fields
}
func NewFileDataSource ¶
func NewFileDataSource(r io.Reader, factoryOptions ...Option) *FileDataSource
type InmemDataSource ¶
type InmemDataSource struct {
// contains filtered or unexported fields
}
func NewInmemDataSource ¶
func NewInmemDataSource(r io.Reader, factoryOptions ...Option) *InmemDataSource
func (*InmemDataSource) Init ¶
func (ds *InmemDataSource) Init() error
type MetaMiddleware ¶ added in v0.1.2
type MetaMiddleware interface { IsAllowed(key string) bool WriteAdditional(types.HPackFieldWriter) }
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithAdditionalHeader ¶
func WithAdditionalHeaders ¶
func WithMetaMiddleware ¶ added in v0.1.2
func WithMetaMiddleware(mw MetaMiddleware) Option
func WithTimeout ¶
type RequestAdapter ¶
type RequestAdapter struct {
// contains filtered or unexported fields
}
func NewRequestAdapter ¶
func NewRequestAdapter(metaMiddleware MetaMiddleware) *RequestAdapter
func (*RequestAdapter) FullMethodName ¶
func (a *RequestAdapter) FullMethodName() string
func (*RequestAdapter) SetUp ¶
func (a *RequestAdapter) SetUp( maxFramePayloadLen int, maxHeaderListSize int, streamID uint32, hpackFieldWriter types.HPackFieldWriter, ) ([]types.Frame, error)
func (*RequestAdapter) Size ¶
func (a *RequestAdapter) Size() int
func (*RequestAdapter) Tag ¶
func (a *RequestAdapter) Tag() string
type RequestAdapterFactory ¶
type RequestAdapterFactory struct {
// contains filtered or unexported fields
}
func NewRequestAdapterFactory ¶
func NewRequestAdapterFactory(ops ...Option) *RequestAdapterFactory
func (*RequestAdapterFactory) Build ¶
func (f *RequestAdapterFactory) Build() *RequestAdapter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.