Categorygithub.com/motki/core
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.

Build Status GoDoc

Subpackage Overview

NameDescription
appIntegration package that wires up all the dependencies in a MOTKI application. Use this package to bootstrap your own MOTKI client application.
cacheShort-lived, in-memory cache.
dbPostgreSQL database integration. Light wrapper around jackc/pgx.
eveapiEVE API integration. Handles EVE SSO and fetching data from ESI using antihax/goesi.
evedbEVE Static Data Export interface. Queries the SDE for static type/universe information. MOTKI uses Fuzzwork's Postgres dump.
evemarketerProvides region- and system-specific market statistics using evemarketer.com.
logWrapper around sirupsen/logrus providing a configuration API and a defacto Logger type.
modelEncapsulates 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.
protoDefines the protocol buffer (and gRPC) interface for MOTKI at large.
proto/clientA golang gRPC client for interacting with a remote MOTKI application server.
proto/serverA golang gRPC server for handling MOTKI client requests.
workerIn-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.