1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-27 10:53:44 +02:00

src/server.go: refactor eosio v1/v2 api code into it's own module that implements a common interface

This commit is contained in:
Henrik Hautakoski 2022-02-21 11:34:47 +01:00
parent fa9a943215
commit ddc7406a4c
No known key found for this signature in database
GPG key ID: 608414D93E862CCD
6 changed files with 173 additions and 93 deletions

2
go.mod
View file

@ -12,6 +12,8 @@ require (
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/pborman/getopt/v2 v2.1.0
internal/utils v1.0.0
internal/api v1.0.0
)
replace internal/utils => ./src/utils
replace internal/api => ./src/api