Documentation ¶
Index ¶
- Constants
- func MustConnect(t *testing.T, ctx context.Context, port int) *nats.Conn
- func MustRequest(t *testing.T, ctx context.Context, nc *nats.Conn, path string, payload []byte) *nats.Msg
- func MustRunNatsServer(t *testing.T, ctx context.Context, port int) *server.Server
- func Request(t *testing.T, ctx context.Context, nc *nats.Conn, path string, payload []byte) (*nats.Msg, error)
Constants ¶
View Source
const (
Host = "localhost"
)
Variables ¶
This section is empty.
Functions ¶
func MustRequest ¶
func MustRunNatsServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.