Documentation ¶
Index ¶
- Constants
- Variables
- type Context
- func (c *Context) Clear(key string) error
- func (c *Context) ClearAll() error
- func (c *Context) Ctx() context.Context
- func (c *Context) Get(key string) ([]byte, error)
- func (c *Context) Keys() ([]string, error)
- func (c *Context) Service(service string) restate.Service
- func (c *Context) Set(key string, value []byte) error
- func (c *Context) SideEffect(fn func() ([]byte, error), bo ...backoff.BackOff) ([]byte, error)
- func (c *Context) Sleep(until time.Time) error
- type Machine
Constants ¶
View Source
const (
Version = 1
)
Variables ¶
View Source
var (
ErrInvalidVersion = fmt.Errorf("invalid version number")
)
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func (*Context) SideEffect ¶
Click to show internal directories.
Click to hide internal directories.