Documentation
¶
Index ¶
- func StdCheck(L *lua.LState, tbl *lua.LTable, b any)
- func StdCheckDefinition(fn lua.LGFunction) *spec.Function
- func StdCheckError(ctx context.Context, tbl *lua.LTable, b any) error
- func WithSaveFunc(ctx context.Context, fn SaveFunc) context.Context
- type GQL
- type PubSub
- type PubSubHook
- type PubSubMessage
- type PubSubTopic
- type REST
- type Reporter
- type SQL
- type SaveFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StdCheckDefinition ¶
func StdCheckDefinition(fn lua.LGFunction) *spec.Function
Types ¶
type PubSub ¶
type PubSub struct {
// contains filtered or unexported fields
}
func NewPubSub ¶
func NewPubSub(doPublish PubSubHook) *PubSub
func (*PubSub) Receive ¶
func (p *PubSub) Receive(topic string, msg PubSubMessage)
func (*PubSub) Send ¶
func (p *PubSub) Send(topic string, msg PubSubMessage)
type PubSubHook ¶
type PubSubHook func(topic string, msg PubSubMessage) error
type PubSubMessage ¶
type PubSubTopic ¶
type PubSubTopic struct {
Sent []PubSubMessage
Received []PubSubMessage
}
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
func NewSQLRunner ¶
func (*SQL) HelperFunctions ¶
Click to show internal directories.
Click to hide internal directories.