Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mapping ¶
type Mapping struct { DstVCS string DstScheme string DstHostname string SrcHostname string // if empty, uses hostname in HTTP request SrcToDstRepoPathMapper *StringMapper }
type StringMapper ¶
func MustGetNewStringMapper ¶
func MustGetNewStringMapper(input string, output string) *StringMapper
func NewStringMapper ¶
func NewStringMapper(input string, output string) (*StringMapper, error)
func (*StringMapper) MapStringPrefix ¶
func (m *StringMapper) MapStringPrefix(str string) (mapped, matched, tail string, err error)
Click to show internal directories.
Click to hide internal directories.