Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.8% on proxy.golang.org
Top 1.9% dependent packages on proxy.golang.org
Top 4.8% dependent repos on proxy.golang.org
Top 6.0% forks on proxy.golang.org

proxy.golang.org : github.com/graniticio/granitic

Package granitic provides methods for configuring and starting a Granitic application. To get started with Granitic, visit http://www.granitic.io/getting-started-installing-granitic All of the documentation you will need is included in the GoDoc, you can find an index and recommended reading order here: http://www.granitic.io/documentation This package provides entry point functions for your application to hand control over to Granitic. Typically your application will have a single, minimal file in its main package similar to: You can build a skeleton Granitic application by running the grnc-project tool, which will generate a main file, empty configuration file and empty component definition file. The uses and syntax of these files are described in the config and ioc packages respectively. A Granitic application needs two things to start: 1. A list of components to host in its IoC container. 2. One or more JSON configuration files containing environment-specific settings for your application (passwords, hostnames etc.) Folders and files containing configuration are by default expected to be stored in This folder can contain any number of files or sub-directories. This location can be overridden by using the -c argument when starting your application from the command line. This argument is expected to be a comma separated list of file paths, directories or HTTP URLs to JSON files or any mixture of the above. When starting your application from the command, Granitic takes control of processing command line arguments. By default your application will support the following arguments. If your application needs to perform command line processing and you want to prevent Granitic from attempting to parse command line arguments, you should start Granitic using the alternative: where you are expected to programmatically define the initial settings.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/graniticio/granitic
Keywords: application-framework, application-server, configuration-management, dependency-injection, devops, golang, inversion-of-control, ioc, iot, json, microservice, microservices, scheduler, validation, webservices, xml
License: Apache-2.0
Latest release: over 5 years ago
First release: almost 7 years ago
Namespace: github.com/graniticio
Dependent packages: 8
Dependent repositories: 1
Stars: 33 on GitHub
Forks: 12 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 24 days ago

    Loading...
    Readme
    Loading...