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

WIP: Modularize -- Ability for server to be used as a package #26

Closed
wants to merge 16 commits into from
Closed

WIP: Modularize -- Ability for server to be used as a package #26

wants to merge 16 commits into from

Conversation

jordanschalm
Copy link
Collaborator

@jordanschalm jordanschalm commented Dec 9, 2016

This is the WIP for #20. Using Glide rather than Godeps because Glide handles dependencies for the sub-packages backends and cmd correctly. (Will need to change all the imports etc. to not point to my fork before merging)

Remove old `server` package
Refactor cmd package to work with new server
Remove `models.go`, remove parts and refactor other parts into either `server.go` or `client.go`
Change format of `allowed_hosts` to JSON array from comma separated string
Refactor NewServer and server.run into server file
Remove requirement for servers to receive appconfig
Refactor MD5Hash method to not use pointers to strings (go strings are pointers under the hood already anyway)
Refactor mysql+redis backend implementation to work with new backend interface and modified client struct
Move concern of reading a configuration file to the command line interface
@jordanschalm
Copy link
Collaborator Author

Creating new direct PR

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.

1 participant