Ecosyste.ms: Packages

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

Top 9.0% on proxy.golang.org

proxy.golang.org : l7e.io/vanity/pkg/toml

Package toml provides an R/O, in-memory, TOML-initialized, implementation of Backend. This in-memory backend is an R/O implementation of vanity.Backend which is initialized using TOML, https://github.com/toml-lang/toml. The vanity URL configurations are stored in-memory. Vanity entries are specified via an array of tables, https://github.com/toml-lang/toml#array-of-tables. Each table has the following keys: * importPath - the vanity URL, e.g. "l7e.io/vanity" * vcs - the version control system, e.g. "git" * vcsPath - the actual root of the version control system pointed to by the import path The vanity entry for this project could be Here, the table name is "entry" and is specified using the InTable option. The TOML configuration can be passed in during construction by passing in the appropriate option to the NewTOMLBackend method to specify file, Reader, string, or byte array content. Specifying multiple content, e.g. both a file and string results in undefined behavior. To create a backend instance: Remember to close the backend instance after use.

Registry - Source - Documentation - JSON
purl: pkg:golang/l7e.io/vanity/pkg/toml
Keywords: go, golang, vanity, vanity-url
License: Apache-2.0
Latest release: over 3 years ago
First release: almost 4 years ago
Namespace: l7e.io/vanity/pkg
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 13 days ago

    Loading...
    Readme
    Loading...