internal/

directory
v0.0.0-...-99e36ab Latest Latest
Warning

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

Go to latest
Published: May 14, 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/components includes general components for iridaceae
/internal/database handles database services and logics (current mongodb, maybe sql in the future)
/internal/testutils handles all core test dependencies (separated from core dependencies)

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
  • implements token-bucket ratelimiter (now it is a simple timedmap to check executions)

todos.

  • fixes docker images with envars limiter
  • added di container for our dependency issues.
  • fixes rosetta rate limiter being to aggressive (panic when running into limit cap)
  • sclog should have options to persistently add global variables throughout different context. However, the current implementation is to be expected since the use of goid

Directories

Path Synopsis
Package components contains all static and support variables for iris.
Package components contains all static and support variables for iris.
Package database handles all database configuration
Package database handles all database configuration
testutils
cbor
Package cbor provides primitives for storing different data in the CBOR (binary) format.
Package cbor provides primitives for storing different data in the CBOR (binary) format.

Jump to

Keyboard shortcuts

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