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

package memory

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

Package memory is a memory source


Package Files

memory.go options.go watcher.go

func NewSource Uses

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

func WithChangeSet Uses

func WithChangeSet(cs *source.ChangeSet) source.Option

WithChangeSet allows a changeset to be set

func WithJSON Uses

func WithJSON(d []byte) source.Option

WithJSON allows the source data to be set to json

func WithYAML Uses

func WithYAML(d []byte) source.Option

WithYAML allows the source data to be set to yaml

Package memory imports 5 packages (graph) and is imported by 1 packages. Updated 2020-08-26. Refresh now. Tools for package owners.