|
|
a024913244
|
Adding internal/api/make_test.go
|
2023-08-24 19:35:13 +02:00 |
|
|
|
c8dd655e36
|
internal/api/atomicasset_test.go: minor style fix.
|
2023-05-10 07:03:49 +02:00 |
|
|
|
10f3a4d4be
|
internal/api/atomicasset_test.go: Bugfix in calls to time.Date(), ment to pass 500 milliseconds, not microseconds.
|
2023-05-10 07:01:53 +02:00 |
|
|
|
d73187ec38
|
internal/server/server.go: Make context timeout configurable.
|
2023-02-07 09:21:10 +01:00 |
|
|
|
6030981ba5
|
internal/server/server.go: Implement options using the functional pattern.
|
2023-02-07 09:11:17 +01:00 |
|
|
|
6b561bdf25
|
internal/api/atomicasset_test.go: Add LogInfoWithHost test
|
2023-02-07 08:43:29 +01:00 |
|
|
|
0448ea4781
|
internal/api/atomicasset.go: In LogInfo() add host parameter.
|
2023-02-07 08:43:02 +01:00 |
|
|
|
afd79110f9
|
internal/server/parse_request_test.go: Adding AtomicAssetWithHost test.
|
2023-02-07 08:38:51 +01:00 |
|
|
|
59399c7cf4
|
internal/api/atomicasset.go: Support host parameter.
|
2023-02-07 08:38:21 +01:00 |
|
|
|
f0ab79ef06
|
internal/api/atomicasset.go: Pass context to atomicasset api.
|
2023-02-07 08:32:44 +01:00 |
|
|
|
d67864dadf
|
go.mod: Update github.com/eosswedenorg-go/leapapi to v0.2.3
|
2023-02-06 16:31:44 +01:00 |
|
|
|
dbf59d1305
|
internal/api/interface.go: make Call() accept a context as parameter.
|
2023-02-06 14:21:29 +01:00 |
|
|
|
b815bcee44
|
internal/server/server.go: Adding request duration to log row.
|
2023-02-06 14:15:06 +01:00 |
|
|
|
12bd16399b
|
internal/server/server.go: Adding OnClose()
|
2023-02-06 12:52:13 +01:00 |
|
|
|
83fd4826d7
|
internal/server/server.go: need to provide a callback to AsyncWrite to close the connection.
|
2023-02-06 12:45:50 +01:00 |
|
|
|
4cdae2d3f1
|
internal/api/debug.go: no need to return error in parseResponse() as it is always nil.
|
2023-02-02 18:52:36 +01:00 |
|
|
|
aff3737f67
|
internal/server/parse_request.go: remove weird comment
|
2023-02-02 18:51:44 +01:00 |
|
|
|
62d039deb2
|
internal/server/server.go: Make OnTick() interval configurable.
|
2023-01-04 14:02:43 +01:00 |
|
|
|
a73f1eae8b
|
internal/server/server.go: Some documentation.
|
2023-01-04 13:55:07 +01:00 |
|
|
|
1f22435dfa
|
internal/server/server.go: count number of connections and send a log message in OnTick()
|
2023-01-04 13:53:29 +01:00 |
|
|
|
1db04c0e76
|
replace github.com/eosswedenorg-go/tcp_server with github.com/panjf2000/gnet
|
2023-01-03 17:45:56 +01:00 |
|
|
|
86e87d8245
|
internal/api: rename eosio_*.go to antelope_*.go
|
2022-12-22 14:17:22 +01:00 |
|
|
|
2caad14e44
|
go mod: Update github.com/eosswedenorg-go/haproxy to v1.0.1
|
2022-12-22 12:41:26 +01:00 |
|
|
|
005ad9fcd0
|
go mod: change github.com/eosswedenorg-go/eosapi v0.1.3 to github.com/eosswedenorg-go/leapapi v0.2.0
|
2022-11-25 12:39:51 +01:00 |
|
|
|
61cb49f8be
|
Rename project from eosio-api-healthcheck to antelope-api-healthcheck
|
2022-11-25 12:39:51 +01:00 |
|
|
|
881e7cd760
|
internal/server/parse_request_test.go: Remove out commented import.
|
2022-11-24 15:06:58 +01:00 |
|
|
|
9109bef803
|
internal/api/make.go: remove "contract" api in favor for the new "atomic" name.
|
2022-11-24 15:06:02 +01:00 |
|
|
|
c89da02738
|
Cleanup test names.
|
2022-11-24 14:56:22 +01:00 |
|
|
|
d2b8e7d0dc
|
internal/api/eosio_v2_test.go: Assert any errors from http.ResponseWriter.Write()
|
2022-11-24 14:51:17 +01:00 |
|
|
|
bcd9a93a35
|
internal/api/eosio_v1_test.go: Assert any errors from http.ResponseWriter.Write()
|
2022-11-24 14:51:17 +01:00 |
|
|
|
c48162742f
|
internal/api/atomicasset_test.go: Assert any errors from http.ResponseWriter.Write()
|
2022-11-24 14:45:46 +01:00 |
|
|
|
2daa5801c1
|
internal/server/server.go: Make Start() return an tcp_server.Server object.
|
2022-11-24 14:37:57 +01:00 |
|
|
|
72bdde0457
|
internal/server/server.go: in Start() no need to spawn server.Listen() in a go routine as that function is already non-blocking.
|
2022-11-23 17:22:44 +01:00 |
|
|
|
8feca959d4
|
internal/server/parse_request.go: move api factory code into its own function in api package: api.Make()
|
2022-11-23 17:14:51 +01:00 |
|
|
|
1fb48800a1
|
internal/server/parse_request.go: Add AtomicAsset in factories with "atomic" as key.
|
2022-11-23 17:07:39 +01:00 |
|
|
|
2b0b32b5ab
|
rename EosioContract to AtomicAsset.
|
2022-11-23 17:04:54 +01:00 |
|
|
|
1b1f601678
|
move internal/*.go files into internal/server
|
2022-11-23 16:54:22 +01:00 |
|
|
|
e9976fbbee
|
Change github.com/eosswedenorg-go/eos-contract-api-client to github.com/eosswedenorg-go/atomicasset
|
2022-11-23 16:04:23 +01:00 |
|
|
|
bcc704c4c0
|
internal/server.go: in onTcpMessage() check error return value of c.WriteString()
|
2022-11-23 15:56:59 +01:00 |
|
|
|
adb1ad3c6d
|
Fix code formatting
|
2022-11-23 15:53:26 +01:00 |
|
|
|
a17e2929e3
|
internal/api/eosio_v1.go: HTTP Errors are now handled in eosapi. This changes the log message abit and return haproxy status from "Down" to "Fail"
|
2022-11-18 15:40:55 +01:00 |
|
|
|
9102240837
|
internal/api/eosio_v2.go: HTTP Errors are now handled in the eosapi. This changes the log message abit and return haproxy status from "Down" to "Fail"
|
2022-11-18 15:40:55 +01:00 |
|
|
|
6448aeb0f7
|
Refactor: move internal package from src/ to internal/ and move src/main.go to cmd/eosio-api-healthcheck/main.go
|
2022-10-27 12:58:30 +02:00 |
|