config

package
v0.0.0-...-0dfd57a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigStore

type ConfigStore struct {
	Store      *store.Store
	ConfigName string

	Cache      *json.RawMessage
	TriedFetch bool
	ConfigDir  string
}

func NewConfigStore

func NewConfigStore(c sarif.Client) *ConfigStore

func (*ConfigStore) Dir

func (c *ConfigStore) Dir() string

func (*ConfigStore) Exists

func (c *ConfigStore) Exists() bool

func (*ConfigStore) Get

func (c *ConfigStore) Get(v interface{}) (error, bool)

func (*ConfigStore) Set

func (c *ConfigStore) Set(v interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL