Documentation ¶
Index ¶
- Variables
- func IndexByFunc(agents []*info.Response, keyFn func(*info.Response) (string, error)) (indexed map[string]*info.Response, err error)
- func IndexByNKey(agents []*info.Response) (indexed map[string]*info.Response, err error)
- func IndexByName(agents []*info.Response) (indexed map[string]*info.Response, err error)
- func IndexBySubject(agents []*info.Response) (indexed map[string]*info.Response, err error)
- func List(ctx context.Context, conn *nats.Conn) (agents []*info.Response, err error)
- func ListByFunc(ctx context.Context, conn *nats.Conn, keyFn func(*info.Response) string) (agents map[string]*info.Response, err error)
- func ListBySubject(ctx context.Context, conn *nats.Conn) (agents map[string]*info.Response, err error)
- func ResolveNKey(ctx context.Context, conn *nats.Conn, name string) (nkey string, err error)
- func Run(ctx context.Context) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NatsOptions *nnats.CliOptions Conn *nats.Conn NKey string Claims *jwt.UserClaims )
Functions ¶
func IndexByFunc ¶
func IndexByNKey ¶
func IndexByName ¶
func IndexBySubject ¶
func ListByFunc ¶
func ListBySubject ¶
func ResolveNKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.