service

package
v0.0.0-...-67caa5e Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2016 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SERVICETYPE_NORMAL = iota
	SERVICETYPE_RAW
)
View Source
const LRU_CACHE_SIZE = 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceType

type ServiceType struct {
	// contains filtered or unexported fields
}

func NewServiceType

func NewServiceType(root string, default_type Type) *ServiceType

func (*ServiceType) Get

func (self *ServiceType) Get(path string) Type

path is relpath

type Type

type Type int

func (Type) IsNormalType

func (self Type) IsNormalType() bool

func (Type) IsRawType

func (self Type) IsRawType() bool

Jump to

Keyboard shortcuts

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