modulepackage
0.0.0-20180611215616-c83d28836b67
Repository: https://github.com/motki/core.git
Documentation: pkg.go.dev
# README
MOTKI Core Libraries
The MOTKI EVE Corporation application libraries.
View current documentation on GoDoc.
Subpackage Overview
Name | Description |
---|---|
app | Integration package that wires up all the dependencies in a MOTKI application. Use this package to bootstrap your own MOTKI client application. |
cache | Short-lived, in-memory cache. |
db | PostgreSQL database integration. Light wrapper around jackc/pgx. |
eveapi | EVE API integration. Handles EVE SSO and fetching data from ESI using antihax/goesi. |
evedb | EVE Static Data Export interface. Queries the SDE for static type/universe information. MOTKI uses Fuzzwork's Postgres dump. |
evemarketer | Provides region- and system-specific market statistics using evemarketer.com. |
log | Wrapper around sirupsen/logrus providing a configuration API and a defacto Logger type. |
model | Encapsulates persistence of data to the database. General pattern is to fetch from DB, then from API if stale. The database schema for this package is defined in the resources/ddl/ directory. |
proto | Defines the protocol buffer (and gRPC) interface for MOTKI at large. |
proto/client | A golang gRPC client for interacting with a remote MOTKI application server. |
proto/server | A golang gRPC server for handling MOTKI client requests. |
worker | In-memory background task scheduler. |
# Packages
Package app contains functionality related to creating an integrated environment with all the necessary dependencies.
Package cache is a short-lived, in-memory cache.
Package db manages interaction with an underlying database store.
Package eveapi manages fetching and posting data to the EVE Swagger API.
Package evedb manages interaction with the EVE Static Dump.
Package evemarketer contains a client integration with the evemarketer.com API.
Package log provides a normalized interface for logging.
Package model encapsulates the persistence layer and higher level functionality in a MOTKI application.
No description provided by the author
Package worker provides a simple asynchronous worker queue.