internal/

directory
v0.0.0-...-984de81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2021 License: MIT

README

Internal

this directory includes core functionality of iris. This shouldn't be exposed or used by other parties

structure.

folder description
/internal/configparser handles configuration for iris. Included a master parser
/internal/irislog contains iris structured logger wrapped around rs/zerolog
/internal/datastore handles database services and logics (current mongodb, maybe sql in the future)
/internal/ratelimiter Contains a master rate limiter that handles all rate limiter shenanigans

refactoring and testing.

  • should be more structured as refactoring goes so that it is easier to manage and test
  • rewrite tests to reduce boilerplate code

Directories

Path Synopsis
Package configparser defines some default configs handler including a configparser parser with ability to update value dynamically
Package configparser defines some default configs handler including a configparser parser with ability to update value dynamically
Package datastore handles all database configuration
Package datastore handles all database configuration
Package irislog defines custom context logger wrapped around rs/zerolog
Package irislog defines custom context logger wrapped around rs/zerolog

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL