Documentation
¶
Overview ¶
Package runtime implements the Scale Runtime in Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NoFunctionsError = errors.New("no functions found in runtime")
)
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance[T signature.Signature] struct {
// contains filtered or unexported fields
}
type NewSignature ¶ added in v0.1.2
type NewSignature[T signature.Signature] func() T
NewSignature is a factory function for creating a new signature.Signature.
type Next ¶
type Next[T signature.Signature] func(ctx T) (T, error)
Next is the next function in the middleware chain. It's meant to be implemented by whatever adapter is being used.
Click to show internal directories.
Click to hide internal directories.