|
|
14c4e3764c
|
Remove src/utils/is_url.go
|
2022-08-16 20:03:31 +02:00 |
|
|
|
890ea537c6
|
Makefile: add test target.
|
2022-08-16 20:03:13 +02:00 |
|
|
|
83a2ddf2ed
|
src/server.go: use code from parse_request.go
|
2022-08-16 20:02:31 +02:00 |
|
|
|
da8a53aa3c
|
Adding src/parse_request.go
|
2022-08-16 19:48:23 +02:00 |
|
|
|
5d27bf0ad2
|
src/api: change v1 and v2 constructor to not expose eosapi package structs.
|
2022-08-16 19:46:39 +02:00 |
|
|
|
303995ffda
|
src/server.go: remove support for old format.
|
2022-08-15 13:34:49 +02:00 |
|
|
|
b1f39ea9fe
|
Version 1.2.2
|
2022-08-15 13:14:48 +02:00 |
|
|
|
768fabe15d
|
src/server.go: Remove some more messages in haproxy responses.
|
2022-08-15 12:47:28 +02:00 |
|
|
|
7215e34152
|
src/server.go: whoops, even the backward support for old format is wrong.
https://xkcd.com/1739
|
2022-08-15 12:23:34 +02:00 |
|
|
|
1a3594af54
|
Version 1.2.1
|
2022-08-12 18:03:41 +02:00 |
|
|
|
24e5daa4ea
|
go.mod: update haproxy to v0.1.1
|
2022-08-12 18:02:57 +02:00 |
|
|
|
ec7a46f5ae
|
src/server.go: Add test api.
|
2022-08-12 17:57:24 +02:00 |
|
|
|
1d6a9c0950
|
Adding src/api/test.go
|
2022-08-12 17:56:59 +02:00 |
|
|
|
879d613b46
|
src/api: do not send a message in haproxy response (it does not like that).
|
2022-08-12 17:16:01 +02:00 |
|
|
|
ed91320a1d
|
Makefile: remove deps.
|
2022-08-12 16:33:51 +02:00 |
|
|
|
64f6e25b21
|
README.md: remove documentation regarding "make deps" as it's not needed when using go modules files.
|
2022-07-18 16:19:07 +02:00 |
|
|
|
34d7192f2a
|
README.md: Typo fix
|
2022-07-18 13:57:14 +02:00 |
|
|
|
99958e2165
|
src/server.go: rename arguments.block_time to num_blocks. and convert to seconds for v1/contract but not v2.
|
2022-05-31 10:22:27 +02:00 |
|
|
|
a3be529b78
|
Version 1.2
|
2022-05-18 10:09:49 +02:00 |
|
|
|
e0174ea3b7
|
src/server.go: Minor cleanup.
|
2022-05-17 18:54:08 +02:00 |
|
|
|
32619b293f
|
src/server.go: Add backward support for the old request format.
|
2022-05-17 18:52:17 +02:00 |
|
|
|
1912ef1790
|
Adding src/utils/is_url.go
|
2022-05-17 18:51:25 +02:00 |
|
|
|
affc56393e
|
src/server.go: fix an out-of-bounds bug in request parameter parsing code.
|
2022-05-17 18:50:58 +02:00 |
|
|
|
4ff008b312
|
Version 1.2-rc2
|
2022-03-02 16:59:45 +01:00 |
|
|
|
3aece958b1
|
Update to github.com/eosswedenorg-go/haproxy@v0.1.0
|
2022-03-02 16:58:32 +01:00 |
|
|
|
fa740af0b1
|
src/api/eosio-contract.go: copy paste error. should ofc not be Postgres in the Redis statement.
|
2022-03-02 16:29:21 +01:00 |
|
|
|
3303ff0905
|
go.mod: skip "internal" and use the root module and path.
|
2022-03-02 16:12:13 +01:00 |
|
|
|
bc3f859a8e
|
Makefile: add .PHONY target
|
2022-03-02 16:00:43 +01:00 |
|
|
|
46fd016d10
|
Makefile: move build/.buildinfo target to build/$(PROGRAM_NAME)
|
2022-03-02 16:00:43 +01:00 |
|
|
|
ec3a9bfac7
|
README.md: Document contract api.
|
2022-03-02 16:00:42 +01:00 |
|
|
|
b5c7b7c4d1
|
Remove logfile
|
2022-03-02 16:00:22 +01:00 |
|
|
|
c459999f88
|
Version 1.2-rc1
|
2022-03-02 16:00:22 +01:00 |
|
|
|
bb375296d8
|
src/server.go: adding "contract" api
|
2022-03-02 16:00:22 +01:00 |
|
|
|
415b1346dc
|
Adding src/api/eosio-contract.go
|
2022-03-02 16:00:21 +01:00 |
|
|
|
be945886e4
|
src/server.go: don't fallback to v1 api, return error on invalid api instead.
|
2022-03-02 16:00:21 +01:00 |
|
|
|
f6aabb7ed8
|
Change order of request parameters: api field moved from position 3 to 1 and are now required.
|
2022-03-02 16:00:21 +01:00 |
|
|
|
014027006f
|
src/api/v2.go: in LogInfo() skip "host" if it's zero length.
|
2022-03-02 16:00:21 +01:00 |
|
|
|
aa0b6998b8
|
src/api/v1.go: in LogInfo() skip "host" if it's zero length.
|
2022-03-02 16:00:20 +01:00 |
|
|
|
d5ec841586
|
src/api/interface.go: make LogInfo() return LogParams
|
2022-03-02 16:00:20 +01:00 |
|
|
|
1b53650723
|
Adding src/api/log_params.go
|
2022-03-02 16:00:20 +01:00 |
|
|
|
8e41cbfc5b
|
src/api/interface.go: remove Name() and define LogInfo() instead.
|
2022-03-02 16:00:19 +01:00 |
|
|
|
400ec204bc
|
README.md: rename parameter 3. version to api as it can be more generic then just different versions.
|
2022-03-02 16:00:19 +01:00 |
|
|
|
ddc7406a4c
|
src/server.go: refactor eosio v1/v2 api code into it's own module that implements a common interface
|
2022-03-02 16:00:19 +01:00 |
|
|
|
fa9a943215
|
Convert hard tabs to soft.
|
2022-03-02 15:56:29 +01:00 |
|
|
|
1dc31db4e1
|
src/main.go: set parameters for getopt.Usage()
|
2022-03-02 15:56:28 +01:00 |
|
|
|
15568153c9
|
src/main.go: Add --help|-h flag to getopt
|
2022-03-02 15:56:28 +01:00 |
|
|
|
44a01344c7
|
Replace local eosapi with github.com/eosswedenorg-go/eosapi
|
2022-03-02 15:54:45 +01:00 |
|
|
|
1d8b47762e
|
replace standard logger for github.com/inconshreveable/log15
|
2022-03-02 15:53:36 +01:00 |
|
|
|
107df930f1
|
src/main.go: log tcp server address
|
2022-03-02 15:50:36 +01:00 |
|
|
|
3a4c827f8e
|
replace github.com/firstrow/tcp_server with github.com/eosswedenorg-go/tcp_server
|
2022-03-02 15:50:05 +01:00 |
|