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

Create basic Gin server #1

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Create basic Gin server #1

merged 1 commit into from
Oct 24, 2023

Conversation

pdeziel
Copy link
Collaborator

@pdeziel pdeziel commented Oct 24, 2023

This adds a basic gin server with initial configuration and a status endpoint.

@pdeziel pdeziel requested a review from pdamodaran October 24, 2023 18:01
Copy link
Collaborator Author

@pdeziel pdeziel left a comment

Choose a reason for hiding this comment

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

Most of this is ported over from our other projects - not too much unique happening yet.

Copy link

@pdamodaran pdamodaran left a comment

Choose a reason for hiding this comment

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

nice work @pdeziel! I just had one question but apart from that I think it's good to go!

runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:

Choose a reason for hiding this comment

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

that's great you added the option to use multiple versions.

//===========================================================================

// Status returns the status of the courier service.
func (c *APIv1) Status(ctx context.Context) (out *StatusReply, err error) {

Choose a reason for hiding this comment

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

curious why the variable is named c instead of s

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was thinking "c" for client.

@pdeziel pdeziel merged commit 5c78986 into main Oct 24, 2023
3 checks passed
@pdeziel pdeziel deleted the sc-21625 branch October 24, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants