json

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheConfig

type CacheConfig struct {
	TrustedTags TagList `json:"trustedTags"`
}

func (*CacheConfig) IsTrustedSource

func (this *CacheConfig) IsTrustedSource(tag string) bool

type TagList

type TagList map[string]bool

func NewTagList

func NewTagList(tags []string) TagList

func (*TagList) UnmarshalJSON

func (this *TagList) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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