scribeconf: github.com/fumin/scribeconf Index | Files

package scribeconf

import "github.com/fumin/scribeconf"

Package scribeconf provides utilities for parsing Scribe configuration files. For details of Scribe configuration, please refer to https://github.com/facebookarchive/scribe/wiki/Scribe-Configuration

Index

Package Files

lex.go parse.go

type Store Uses

type Store struct {
    Name   string            // Store name denoted by surrounding '<' and '>'
    Fields map[string]string // fields of a store, for example "category"
    Stores []Store           // a list of sub-stores
}

Store represents a scribe store. A store has multiple fields, and can contain multiple sub-stores.

func Parse Uses

func Parse(input string) (*Store, error)

Parse parses a Scribe configuration string as a top level store, with possibly multiple sub-stores.

Package scribeconf imports 4 packages (graph). Updated 2016-07-20. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).