|
|
90b10f39ae
|
internal/log/RotatingFile.go: use option functions.
|
2024-02-21 17:22:06 +01:00 |
|
|
|
bcdaa9cea4
|
internal/log/RotatingFileOptions.go: adding implementation for the functional option pattern.
|
2024-02-20 19:43:27 +01:00 |
|
|
|
cd54b770a5
|
internal/log/config.go: adding FileTimestampFormat field
|
2024-02-20 19:28:06 +01:00 |
|
|
|
7f1f186aa0
|
nternal/config/cli.go: move overrideCliFlags() to cmd/thalos/server.go as its pretty specific code.
|
2024-02-18 18:00:26 +01:00 |
|
|
|
53baae8a7f
|
internal/config/cli.go: move flags that are not bound to config to cmd/thalos/main.go
|
2024-02-18 17:40:04 +01:00 |
|
|
|
69a36e016c
|
internal/config: skip creating a Config struct with default values. those should be set by flags or viper in the builder
|
2024-02-18 16:11:32 +01:00 |
|
|
|
e54a4fa929
|
internal/config: remove shorthand ship config (where it is possible to have "ship" key only contain a url string instead of struct)
It makes parsing harder and i don't think anyone uses it and its not that useful tbh.
|
2024-02-18 16:08:18 +01:00 |
|
|
|
4a4489e2be
|
internal/config/builder_test.go: adding test for config with flags
|
2024-02-18 16:04:02 +01:00 |
|
|
|
2db0a64bd4
|
internal/config: add additional flags for config fields.
|
2024-02-18 15:45:10 +01:00 |
|
|
|
beb5b6cf04
|
cmd/thalos/main.go: move cli flags to internal/config/cli.go as it is easier to write tests if we can get a hold of the flags.
|
2024-02-18 14:36:27 +01:00 |
|
|
|
117f1b50b4
|
internal/config/builder.go: bind start-block, end-block flags to config
|
2024-02-18 11:39:32 +01:00 |
|
|
|
7033240000
|
internal/config/cli.go: Rename Config.ReadCliFlags to ovverideCliFlags and make it a function instead of method.
|
2024-02-18 11:39:32 +01:00 |
|
|
|
b4c305d8ea
|
Remove internal/config/file.go
|
2024-02-18 11:39:32 +01:00 |
|
|
|
0d1bec6a62
|
Adding internal/config/builder.go
|
2024-02-18 11:39:32 +01:00 |
|
|
|
85da219349
|
Merge branch 'refactor'
|
2024-02-17 17:32:19 +01:00 |
|
|
|
9974bfe3fd
|
rename app folder to internal.
|
2024-02-14 13:00:33 +01:00 |
|
|
|
bcf55f1c12
|
Remove internal/redis/wrapper.go
|
2023-01-13 13:45:41 +01:00 |
|
|
|
b22118898d
|
move channel stuffs from internal/redis to transport.
|
2023-01-13 13:38:04 +01:00 |
|
|
|
3251c94416
|
move internal/config to config
|
2023-01-12 16:49:27 +01:00 |
|
|
|
92c605c7fa
|
move internal/abi_cache to abi
|
2023-01-12 16:48:04 +01:00 |
|
|
|
9c3bd1e879
|
internal/abi_cache/cache.go: change "this" variable to "cache".
|
2023-01-12 16:31:51 +01:00 |
|
|
|
caf7460875
|
internal/redis/channel.go: Don't need to use fmt.Sprintf() anymore.
|
2023-01-12 15:37:29 +01:00 |
|
|
|
51af80d3aa
|
internal/redis/channel.go: Make Append() accept a variadic number of parameters.
|
2023-01-12 15:37:29 +01:00 |
|
|
|
0e19f6d146
|
internal/redis/channel.go: Change delimiter to "/"
|
2023-01-12 15:37:29 +01:00 |
|
|
|
dd9bd85801
|
internal/redis/namespace.go: Change delimiter to "::"
|
2023-01-12 15:37:14 +01:00 |
|
|
|
1bc43cc87b
|
internal/redis/namespace.go: Adding Namespace.NewKey() helper function.
|
2023-01-06 17:07:22 +01:00 |
|
|
|
13c8ed7692
|
Refactor to use the new redis.Key,redis.Namespace and redis.Channel types.
|
2023-01-06 17:06:27 +01:00 |
|
|
|
61beca435c
|
Adding internal/redis/key.go
|
2023-01-06 17:05:44 +01:00 |
|
|
|
15b9a9804f
|
Adding internal/redis/namespace.go
|
2023-01-06 16:55:36 +01:00 |
|
|
|
e91951d7ed
|
Adding internal/redis/channel.go
|
2023-01-06 16:53:04 +01:00 |
|
|
|
42da179c74
|
internal/redis/wrapper.go: in Key() used "::" as a separator between namespace and channel.
|
2023-01-06 15:38:21 +01:00 |
|
|
|
6d8c63f958
|
Remove internal/telegram/wrapper.go
|
2022-11-29 16:38:54 +01:00 |
|
|
|
ddd5d67901
|
Move internal packages into internal subdirectory
|
2022-11-29 15:08:23 +01:00 |
|
|
|
8df93439c3
|
convert abi_cache into a proper package.
|
2022-03-11 11:28:16 +01:00 |
|
|
|
301e51b3ef
|
Adding internal/abi_cache
|
2022-01-20 15:08:05 +01:00 |
|