go-micro: github.com/micro/go-micro/config/source/file Index | Files

package file

import "github.com/micro/go-micro/config/source/file"

Package file is a file source. Expected format is json


Package Files

file.go format.go options.go watcher_linux.go


var (
    DefaultPath = "config.json"

func NewSource Uses

func NewSource(opts ...source.Option) source.Source

func WithPath Uses

func WithPath(p string) source.Option

WithPath sets the path to file

Package file imports 7 packages (graph) and is imported by 20 packages. Updated 2020-01-30. Refresh now. Tools for package owners.