-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shortlink: backend implementation (#2074)
- Loading branch information
1 parent
1c8f625
commit 0aa0f85
Showing
9 changed files
with
895 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
syntax = "proto3"; | ||
|
||
package clutch.config.service.shortlink.v1; | ||
|
||
option go_package = "github.com/lyft/clutch/backend/api/config/service/shortlink/v1;shortlinkv1"; | ||
|
||
message Config { | ||
// Chars is the list of characters that will be used when generating the random string. | ||
// By default its set to [a-zA-Z0-9] | ||
string shortlink_chars = 1; | ||
// This sets the length of the random string being generated. | ||
// By default its set to 10 | ||
int64 shortlink_length = 2; | ||
} |
165 changes: 165 additions & 0 deletions
165
backend/api/config/service/shortlink/v1/shortlink.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
138 changes: 138 additions & 0 deletions
138
backend/api/config/service/shortlink/v1/shortlink.pb.validate.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.