Documentation ¶
Index ¶
- func WithConn(name string, conn *nats.Conn) xtemplate.Option
- func WithConnOptions(name string, options *nats.Options) xtemplate.Option
- func WithConnUrl(name string, url string, opts ...nats.Option) xtemplate.Option
- func WithKV(name string, kv jetstream.KeyValue) xtemplate.Option
- func WithKVUrl(name, bucket, url string, opts ...nats.Option) xtemplate.Option
- type DotKV
- type DotKVProvider
- type DotNats
- type DotNatsProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithConnOptions ¶
Types ¶
type DotKVProvider ¶
func (DotKVProvider) New ¶
func (DotKVProvider) New() xtemplate.DotProvider
func (DotKVProvider) Type ¶
func (DotKVProvider) Type() string
func (*DotKVProvider) UnmarshalJSON ¶
func (d *DotKVProvider) UnmarshalJSON(b []byte) error
func (*DotKVProvider) UnmarshalText ¶
func (d *DotKVProvider) UnmarshalText(b []byte) error
type DotNatsProvider ¶
type DotNatsProvider struct { Conn *nats.Conn // contains filtered or unexported fields }
func (DotNatsProvider) New ¶
func (DotNatsProvider) New() xtemplate.DotProvider
func (DotNatsProvider) Type ¶
func (DotNatsProvider) Type() string
func (*DotNatsProvider) UnmarshalJSON ¶
func (d *DotNatsProvider) UnmarshalJSON(b []byte) error
func (*DotNatsProvider) UnmarshalText ¶
func (d *DotNatsProvider) UnmarshalText(b []byte) error
Click to show internal directories.
Click to hide internal directories.