Documentation ¶
Index ¶
- Variables
- func MapNativeTable(t *NativeTable) (interface{}, bool)
- func ParseToTable(k, v NativeValue, acc map[string]interface{})
- func ToError(e error, source *SourceMap) error
- type Binder
- type BinderWrapper
- type Config
- type Context
- type ErrInternal
- type ErrInternalHTTP
- type ErrInternalHTTPWithContentType
- type ErrUnknownSource
- type ErrWrongChecksum
- type ErrWrongChecksumType
- type Handler
- type List
- type NativeBool
- type NativeNumber
- type NativeString
- type NativeTable
- type NativeUserData
- type NativeValue
- type SourceLoader
- type SourceMap
- type Table
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoExtraConfig = errors.New("no extra config") ErrWrongExtraConfig = errors.New("wrong extra config") )
Functions ¶
func MapNativeTable ¶ added in v2.3.0
func MapNativeTable(t *NativeTable) (interface{}, bool)
func ParseToTable ¶ added in v2.3.0
func ParseToTable(k, v NativeValue, acc map[string]interface{})
Types ¶
type BinderWrapper ¶ added in v2.2.0
type BinderWrapper struct {
// contains filtered or unexported fields
}
func NewBinderWrapper ¶ added in v2.2.0
func NewBinderWrapper(binderOptions binder.Options) BinderWrapper
func (BinderWrapper) GetBinder ¶ added in v2.2.0
func (b BinderWrapper) GetBinder() *binder.Binder
func (BinderWrapper) WithCode ¶ added in v2.2.0
func (b BinderWrapper) WithCode(key string, src string) error
func (BinderWrapper) WithConfig ¶ added in v2.2.0
func (b BinderWrapper) WithConfig(cfg *Config) error
type Config ¶
type ErrInternal ¶
type ErrInternal string
func (ErrInternal) Error ¶
func (e ErrInternal) Error() string
type ErrInternalHTTP ¶
type ErrInternalHTTP struct {
// contains filtered or unexported fields
}
func (ErrInternalHTTP) Error ¶
func (e ErrInternalHTTP) Error() string
func (ErrInternalHTTP) StatusCode ¶
func (e ErrInternalHTTP) StatusCode() int
type ErrInternalHTTPWithContentType ¶ added in v2.2.0
type ErrInternalHTTPWithContentType struct { ErrInternalHTTP // contains filtered or unexported fields }
func (ErrInternalHTTPWithContentType) Encoding ¶ added in v2.2.0
func (e ErrInternalHTTPWithContentType) Encoding() string
type ErrUnknownSource ¶
type ErrUnknownSource string
func (ErrUnknownSource) Error ¶
func (e ErrUnknownSource) Error() string
type ErrWrongChecksum ¶
type ErrWrongChecksum struct {
Source, Actual, Expected string
}
func (ErrWrongChecksum) Error ¶
func (e ErrWrongChecksum) Error() string
type ErrWrongChecksumType ¶
type ErrWrongChecksumType string
func (ErrWrongChecksumType) Error ¶
func (e ErrWrongChecksumType) Error() string
type NativeBool ¶ added in v2.3.0
type NativeNumber ¶ added in v2.3.0
type NativeString ¶ added in v2.3.0
type NativeTable ¶ added in v2.3.0
type NativeUserData ¶ added in v2.3.0
type NativeValue ¶ added in v2.3.0
type SourceLoader ¶
type SourceMap ¶ added in v2.2.0
func NewSourceMap ¶ added in v2.2.0
func NewSourceMap() SourceMap
func (*SourceMap) AffectedSource ¶ added in v2.2.0
Click to show internal directories.
Click to hide internal directories.