Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add host and port, convenient loading the config manually via ConfigWith... #37

Merged
merged 2 commits into from
Nov 29, 2014

Conversation

hayate
Copy link
Contributor

@hayate hayate commented Nov 29, 2014

...Env

@@ -69,7 +69,7 @@ func New(queueName string) *Queue {
return &Queue{Settings: config.Config("iron_mq"), Name: queueName}
}

func ListProjectQueues(projectId string, token string, page int, perPage int) (queues []Queue, err error) {
func ListProjectQueues(projectId string, token string, host string, port uint16, page int, perPage int) (queues []Queue, err error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, looks great. could we make separate method instead with the extra parameters? don't want to break clients' codes. thanks

@hayate hayate changed the title add host and port, convenient loading the config manually via ConfigWith... [WIP] add host and port, convenient loading the config manually via ConfigWith... Nov 29, 2014
@hayate hayate changed the title [WIP] add host and port, convenient loading the config manually via ConfigWith... add host and port, convenient loading the config manually via ConfigWith... Nov 29, 2014
@rdallman
Copy link
Contributor

thanks!

rdallman pushed a commit that referenced this pull request Nov 29, 2014
add host and port, convenient loading the config manually via ConfigWith...
@rdallman rdallman merged commit 02d837d into iron-io:master Nov 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants