Documentation ¶
Index ¶
- Constants
- func DecorateSurfaces(text string, surfs []string) (string, bool)
- func GetConfigPath() string
- func GetConstraints(query string) (IntSet, IntSet, IntSet, int, int)
- func GetStaticRootPath() string
- func PrettyFeatures(surfs []string, features []string) string
- func PrettySurfaces(surfs []string) string
- func PrintDefaultPath()
- type IntSet
- type MaResource
- type MaResult
- type MaSetting
Constants ¶
View Source
const Blank = " "
Blank is an expression for a non segment
View Source
const IllegalSegment = "/"
IllegalSegment is an expression for an illegal segment
View Source
const IllegalUnsegment = "_"
IllegalUnsegment is an expression for an illegal unsegmented position
View Source
const Segment = "|"
Segment is an expression for a valid segment
Variables ¶
This section is empty.
Functions ¶
func DecorateSurfaces ¶
DecorateSurfaces returns a decorated line
func GetConstraints ¶
GetConstraints returns segmentation information
func GetStaticRootPath ¶
func GetStaticRootPath() string
GetStaticRootPath returns the static root path
func PrettyFeatures ¶
PrettyFeatures returns a pretty line
func PrettySurfaces ¶
PrettySurfaces returns a pretty line
Types ¶
type MaResource ¶
MaResource contains resources related the server
func NewMaResource ¶
func NewMaResource(settings map[string]MaSetting) (*MaResource, error)
NewMaResource returns MaResource
func (*MaResource) Parse ¶
func (mr *MaResource) Parse(text string) []MaResult
Parse returns results
Click to show internal directories.
Click to hide internal directories.