Documentation ¶
Index ¶
- func GetPrefixPrefix() string
- type NaiveBodyTranslator
- type NilTranslator
- type ParameterTranslator
- func NewNaiveBodyTranslator(prefix string, attributeMatcher fuzzymatch.FuzzyMatcher[string]) ParameterTranslator
- func NewNilTranslator() ParameterTranslator
- func NewParameterTranslator(algorithm string, attributeMatcher fuzzymatch.FuzzyMatcher[string]) ParameterTranslator
- func NewPrefixedTranslator(prefix string, attributeMatcher fuzzymatch.FuzzyMatcher[string]) ParameterTranslator
- type PrefixedTranslator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrefixPrefix ¶
func GetPrefixPrefix() string
Types ¶
type NaiveBodyTranslator ¶
type NaiveBodyTranslator struct {
// contains filtered or unexported fields
}
func (*NaiveBodyTranslator) ReverseTranslate ¶
func (gp *NaiveBodyTranslator) ReverseTranslate(input string) (string, error)
type NilTranslator ¶
type NilTranslator struct { }
func (*NilTranslator) ReverseTranslate ¶
func (gp *NilTranslator) ReverseTranslate(input string) (string, error)
type ParameterTranslator ¶
type ParameterTranslator interface { Translate(string) (string, error) ReverseTranslate(string) (string, error) }
func NewNaiveBodyTranslator ¶
func NewNaiveBodyTranslator(prefix string, attributeMatcher fuzzymatch.FuzzyMatcher[string]) ParameterTranslator
func NewNilTranslator ¶
func NewNilTranslator() ParameterTranslator
func NewParameterTranslator ¶
func NewParameterTranslator(algorithm string, attributeMatcher fuzzymatch.FuzzyMatcher[string]) ParameterTranslator
func NewPrefixedTranslator ¶
func NewPrefixedTranslator(prefix string, attributeMatcher fuzzymatch.FuzzyMatcher[string]) ParameterTranslator
type PrefixedTranslator ¶
type PrefixedTranslator struct {
// contains filtered or unexported fields
}
func (*PrefixedTranslator) ReverseTranslate ¶
func (gp *PrefixedTranslator) ReverseTranslate(input string) (string, error)
Click to show internal directories.
Click to hide internal directories.