Documentation ¶
Index ¶
- type Client
- func (x *Client) Get(key string) (option common.ScheduleOption, err error)
- func (x *Client) Lists() (keys []string, err error)
- func (x *Client) Ping() (result bool, err error)
- func (x *Client) Remove(key string) (err error)
- func (x *Client) Set(key string, option common.ScheduleOption) (err error)
- func (x *Client) Status(key string, value bool) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.4.0
type Client struct { Node string Nats *nats.Conn JetStream nats.JetStreamContext KeyValue nats.KeyValue }
func (*Client) Get ¶ added in v1.4.0
func (x *Client) Get(key string) (option common.ScheduleOption, err error)
Click to show internal directories.
Click to hide internal directories.