context

package
v0.0.0-...-9ff550a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotExist = errors.New("not exist")
)

Functions

func New

func New(cli client.Client, stg storage.Storage) *context

Types

type Context

type Context interface {
	Client() client.Client
	IsIndex(string, string) (bool, error)
	AttributeType(string, string) (uint32, error)
	AttributeBelong(string, string) (string, error)
}

Jump to

Keyboard shortcuts

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