func New(config *Config) *Streamer { return &Streamer{ arn: config.arn, client: streams.NewClient(&streams.Config{config.executor}), shutdown: make(chan none), } }
func setUp(t *testing.T) (*assert.Assertions, *mockRequester, *streams.Client) { requester := &mockRequester{} executor := &dynago.AwsExecutor{Requester: requester} client := streams.NewClient(&streams.Config{ Requester: executor, }) return assert.New(t), requester, client }