Documentation ¶
Index ¶
- func InitSTD(interpreter *funl.Interpreter) (err error)
- func SetSTDFunctions(topFrame *funl.Frame, stdModuleName string, stdFuncs []StdFuncInfo, ...) (err error)
- type OpaqueByteArray
- type OpaqueFile
- type OpaqueFileInfo
- type OpaqueHttpMux
- type OpaqueJSONnull
- type OpaqueResponseWriter
- type OpaqueVarRef
- type RProxy
- type RServer
- func (server *RServer) Close() error
- func (server *RServer) Equals(with funl.OpaqueAPI) bool
- func (server *RServer) Register(name string, procVal funl.Value) error
- func (server *RServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (server *RServer) Str() string
- func (server *RServer) TypeName() string
- func (server *RServer) UnRegister(procName string) error
- func (server *RServer) UnRegisterAll() error
- type Reply
- type Request
- type StdFuncInfo
- type StdFuncType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitSTD ¶
func InitSTD(interpreter *funl.Interpreter) (err error)
InitSTD is used for initializing standard library
func SetSTDFunctions ¶
func SetSTDFunctions(topFrame *funl.Frame, stdModuleName string, stdFuncs []StdFuncInfo, interpreter *funl.Interpreter) (err error)
SetSTDFunctions exposed
Types ¶
type OpaqueByteArray ¶
type OpaqueByteArray struct {
// contains filtered or unexported fields
}
func NewOpaqueByteArray ¶
func NewOpaqueByteArray(data []byte) *OpaqueByteArray
Creates new OpaqueByteArray
func (*OpaqueByteArray) GetBytes ¶
func (ob *OpaqueByteArray) GetBytes() []byte
GetBytes provides Go API for reading byte slice
func (*OpaqueByteArray) Str ¶
func (ob *OpaqueByteArray) Str() string
func (*OpaqueByteArray) TypeName ¶
func (ob *OpaqueByteArray) TypeName() string
type OpaqueFile ¶
type OpaqueFile struct {
// contains filtered or unexported fields
}
func (*OpaqueFile) Str ¶
func (file *OpaqueFile) Str() string
func (*OpaqueFile) TypeName ¶
func (file *OpaqueFile) TypeName() string
type OpaqueFileInfo ¶
type OpaqueFileInfo struct {
// contains filtered or unexported fields
}
func (*OpaqueFileInfo) Str ¶
func (fi *OpaqueFileInfo) Str() string
func (*OpaqueFileInfo) TypeName ¶
func (fi *OpaqueFileInfo) TypeName() string
type OpaqueHttpMux ¶
type OpaqueHttpMux struct {
// contains filtered or unexported fields
}
func (*OpaqueHttpMux) Str ¶
func (mux *OpaqueHttpMux) Str() string
func (*OpaqueHttpMux) TypeName ¶
func (mux *OpaqueHttpMux) TypeName() string
type OpaqueJSONnull ¶
type OpaqueJSONnull struct{}
func (*OpaqueJSONnull) Str ¶
func (opa *OpaqueJSONnull) Str() string
func (*OpaqueJSONnull) TypeName ¶
func (opa *OpaqueJSONnull) TypeName() string
type OpaqueResponseWriter ¶
type OpaqueResponseWriter struct {
// contains filtered or unexported fields
}
func (*OpaqueResponseWriter) Equals ¶
func (orw *OpaqueResponseWriter) Equals(with funl.OpaqueAPI) bool
func (*OpaqueResponseWriter) Str ¶
func (orw *OpaqueResponseWriter) Str() string
func (*OpaqueResponseWriter) TypeName ¶
func (orw *OpaqueResponseWriter) TypeName() string
type OpaqueVarRef ¶
OpaqueVarRef ...
type RProxy ¶
RProxy ...
type RServer ¶
type RServer struct { Addr string Server *http.Server Procs map[string]funl.Value ProcsMutex sync.RWMutex DecoderVal funl.Value EncoderVal funl.Value TopFrame *funl.Frame IdleConnsClosed chan struct{} }
RServer ...
func (*RServer) ServeHTTP ¶
func (server *RServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP ...
func (*RServer) UnRegister ¶
UnRegister ...
type StdFuncInfo ¶
type StdFuncInfo struct { Name string Getter func(name string) StdFuncType IsFunction bool }
StdFuncInfo exposed
Click to show internal directories.
Click to hide internal directories.