-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd955e0
commit 64b30c2
Showing
9 changed files
with
1,542 additions
and
74 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v1 | ||
deps: | ||
- remote: buf.build | ||
owner: gnostic | ||
repository: gnostic | ||
commit: 087bc8072ce44e339f213209e4d57bf0 | ||
digest: shake256:4689c26f0460fea84c4c277c1b9c7e7d657388c5b4116d1065f907a92100ffbea87de05bbd138a0166411361e1f6ce063b4c0c6002358d39710f3c4a8de788d5 | ||
- remote: buf.build | ||
owner: googleapis | ||
repository: googleapis | ||
commit: ee48893a270147348e3edc6c1a03de0e | ||
digest: shake256:a35b0576a2b55dad72747e786af05c03539c2b96be236c9de39fe10d551931ac252eb68445c0cef6bbd27fa20e8c26eee5b8a9fe9c2fde6f63a03e18f8cf980d | ||
commit: 7a6bc1e3207144b38e9066861e1de0ff | ||
digest: shake256:d646836485c34192401253703c4e7ce899c826fceec060bf4b2a62c4749bd9976dc960833e134a1f814725e1ffd60b1bb3cf0335a7e99ef0e8cec34b070ffb66 |
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 |
---|---|---|
|
@@ -7,3 +7,4 @@ lint: | |
- DEFAULT | ||
deps: | ||
- buf.build/googleapis/googleapis | ||
- buf.build/gnostic/gnostic |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
syntax = "proto3"; | ||
|
||
option go_package = "github.com/ringsaturn/tzf-server/tzf/v1;v1"; | ||
|
||
package tzf.v1; | ||
|
||
import "google/api/annotations.proto"; | ||
import "google/api/client.proto"; | ||
import "google/api/field_behavior.proto"; | ||
import "google/protobuf/duration.proto"; | ||
import "gnostic/openapi/v3/annotations.proto"; | ||
|
||
option go_package = "github.com/ringsaturn/tzf-server/tzf/v1;v1"; | ||
|
||
option (gnostic.openapi.v3.document) = { | ||
info: { | ||
title: "TZF Server"; | ||
version: "0.13.2"; | ||
contact: { | ||
name: "ringsaturn"; | ||
url: "https://github.com/ringsaturn/tzf-server?tab=readme-ov-file"; | ||
email: "[email protected]"; | ||
} | ||
license: { | ||
name: "Unlicense"; | ||
url: "https://github.com/ringsaturn/tzf-server/blob/main/LICENSE"; | ||
} | ||
} | ||
}; | ||
|
||
// Simple server convert longitude&latitude to timezone name(s). | ||
// The server also provides timezone name list. | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
openapi: 3.0.3 | ||
info: | ||
title: TZFService API | ||
title: TZF Server | ||
description: |- | ||
Simple server convert longitude&latitude to timezone name(s). | ||
The server also provides timezone name list. | ||
|
@@ -12,7 +12,14 @@ info: | |
should not be used in production. | ||
Use https://github.com/ringsaturn/tzf as internal library. | ||
version: 0.0.1 | ||
contact: | ||
name: ringsaturn | ||
url: https://github.com/ringsaturn/tzf-server?tab=readme-ov-file | ||
email: [email protected] | ||
license: | ||
name: Unlicense | ||
url: https://github.com/ringsaturn/tzf-server/blob/main/LICENSE | ||
version: 0.13.2 | ||
paths: | ||
/api/v1/ping: | ||
get: | ||
|