Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
func Call[T proto.Message, U proto.Message](ctx context.Context, con *nats.Conn, subject string, expectCompat *version2.Version, sendMiddleware []middleware.Send, command T, ret U) error
Call provides the functionality to call shar APIs
func CallReturnStream ¶ added in v1.1.1032
func CallReturnStream[T proto.Message, U proto.Message](ctx context.Context, con *nats.Conn, subject string, expectCompat *version2.Version, sendMiddleware []middleware.Send, command T, container U, fn func(ret U) error) error
CallReturnStream provides the functionality to call shar APIs and receive a streaming response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.