func (client *Client) GetStreamsContext(
	ctx context.Context,
) (streams []graylog.Stream, total int, ei *ErrorInfo, err error) {
	streamsBody := &graylog.StreamsBody{}
	ei, err = client.callGet(
		ctx, client.Endpoints().Streams(), nil, streamsBody)
	return streamsBody.Streams, streamsBody.Total, ei, err
}
// GetStreamsContext returns all streams with a context.
GetStreamsContext returns all streams with a context.
// GetStreamsContext returns all streams with a context .
func (client *Client) GetStreamsContext(
	ctx context.Context,
) (streams []graylog.Stream, total int, ei *ErrorInfo, err error) {
	streamsBody := &graylog.StreamsBody{}
	ei, err = client.callGet(
		ctx, client.Endpoints().Streams(), nil, streamsBody)
	return streamsBody.Streams, streamsBody.Total, ei, err
}
func ( client * Client ) GetStreamsContext ( ctx context . Context , ) ( streams [ ] graylog . Stream , total int , ei * ErrorInfo , err error ) { streamsBody := & graylog . StreamsBody { } ei , err = client . callGet ( ctx , client . Endpoints ( ) . Streams ( ) , nil , streamsBody ) return streamsBody . Streams , streamsBody . Total , ei , err }
GetStreamsContext returns all streams with a context.
GetStreamsContext returns all streams with a context .