Documentation ¶
Index ¶
- func BindOptionsString(options []BindOption) string
- func CreateBindOptionDoubleWord(name1 string, name2 string) (BindOptionDoubleWord, ErrParseBindOption)
- func CreateBindOptionValue(name string, value string) (BindOptionValue, ErrParseBindOption)
- func CreateBindOptionWord(name string) (BindOptionWord, ErrParseBindOption)
- func CreateServerOptionDoubleWord(name1 string, name2 string) (ServerOptionDoubleWord, ErrParseServerOption)
- func CreateServerOptionValue(name string, value string) (ServerOptionValue, ErrParseServerOption)
- func CreateServerOptionWord(name string) (ServerOptionWord, ErrParseServerOption)
- func DgramBindOptionsString(options []DgramBindOption) string
- func ServerOptionsString(options []ServerOption) string
- type BalanceHash
- type BalanceHdr
- type BalanceParams
- type BalanceRandom
- type BalanceRdpCookie
- type BalanceURI
- type BalanceURLParam
- type BindOption
- type BindOptionDoubleWord
- type BindOptionValue
- type BindOptionValueValidation
- type BindOptionWord
- type DgramBindOption
- type ErrParseBindOption
- type ErrParseServerOption
- type NotAllowedValuesError
- type NotEnoughParamsError
- type NotFoundError
- type PersistParams
- type PersistRdpCookie
- type ServerOption
- type ServerOptionDoubleWord
- type ServerOptionIDValue
- type ServerOptionValue
- type ServerOptionWord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindOptionsString ¶
func BindOptionsString(options []BindOption) string
func CreateBindOptionDoubleWord ¶
func CreateBindOptionDoubleWord(name1 string, name2 string) (BindOptionDoubleWord, ErrParseBindOption)
CreateBindOptionDoubleWord creates valid two word value
func CreateBindOptionValue ¶
func CreateBindOptionValue(name string, value string) (BindOptionValue, ErrParseBindOption)
CreateBindOptionValue creates valid option with value
func CreateBindOptionWord ¶
func CreateBindOptionWord(name string) (BindOptionWord, ErrParseBindOption)
CreateBindOptionWord creates valid one word value
func CreateServerOptionDoubleWord ¶
func CreateServerOptionDoubleWord(name1 string, name2 string) (ServerOptionDoubleWord, ErrParseServerOption)
CreateServerOptionDoubleWord creates valid two word value
func CreateServerOptionValue ¶
func CreateServerOptionValue(name string, value string) (ServerOptionValue, ErrParseServerOption)
CreateServerOptionValue creates valid option with value
func CreateServerOptionWord ¶
func CreateServerOptionWord(name string) (ServerOptionWord, ErrParseServerOption)
CreateServerOptionWord creates valid one word value
func DgramBindOptionsString ¶
func DgramBindOptionsString(options []DgramBindOption) string
func ServerOptionsString ¶
func ServerOptionsString(options []ServerOption) string
Types ¶
type BalanceHash ¶
type BalanceHash struct {
Expression string
}
func (*BalanceHash) Parse ¶
func (r *BalanceHash) Parse(parts []string) (BalanceParams, error)
func (*BalanceHash) String ¶
func (r *BalanceHash) String() string
type BalanceHdr ¶
func (*BalanceHdr) Parse ¶
func (h *BalanceHdr) Parse(parts []string) (BalanceParams, error)
func (*BalanceHdr) String ¶
func (h *BalanceHdr) String() string
type BalanceParams ¶
type BalanceParams interface { String() string Parse(parts []string) (BalanceParams, error) }
type BalanceRandom ¶
type BalanceRandom struct {
Draws int64
}
func (*BalanceRandom) Parse ¶
func (h *BalanceRandom) Parse(parts []string) (BalanceParams, error)
func (*BalanceRandom) String ¶
func (h *BalanceRandom) String() string
type BalanceRdpCookie ¶
type BalanceRdpCookie struct {
Name string
}
func (*BalanceRdpCookie) Parse ¶
func (r *BalanceRdpCookie) Parse(parts []string) (BalanceParams, error)
func (*BalanceRdpCookie) String ¶
func (r *BalanceRdpCookie) String() string
type BalanceURI ¶
func (*BalanceURI) Parse ¶
func (b *BalanceURI) Parse(parts []string) (BalanceParams, error)
func (*BalanceURI) String ¶
func (b *BalanceURI) String() string
type BalanceURLParam ¶
func (*BalanceURLParam) Parse ¶
func (u *BalanceURLParam) Parse(parts []string) (BalanceParams, error)
func (*BalanceURLParam) String ¶
func (u *BalanceURLParam) String() string
type BindOption ¶
type BindOption interface { Parse(options []string, currentIndex int) (int, error) Valid() bool String() string }
BindOption ...
type BindOptionDoubleWord ¶
BindOptionDoubleWord ...
type BindOptionValue ¶
BindOptionValue ...
type BindOptionValueValidation ¶
type BindOptionValueValidation struct {
AllowedValues []string
}
BindOptionValueValidation ...
type BindOptionWord ¶
type BindOptionWord struct {
Name string
}
BindOptionWord ...
type DgramBindOption ¶
type DgramBindOption interface { Parse(options []string, currentIndex int) (int, error) Valid() bool String() string }
DgramBindOption ...
func ParseDgramBindOptions ¶
func ParseDgramBindOptions(options []string) []DgramBindOption
Parse ...
type ErrParseBindOption ¶
type ErrParseBindOption interface {
Error() string
}
type ErrParseServerOption ¶
type ErrParseServerOption interface {
Error() string
}
type NotAllowedValuesError ¶
NotAllowedValuesError struct for allowed values errors
func (*NotAllowedValuesError) Error ¶
func (e *NotAllowedValuesError) Error() string
type NotEnoughParamsError ¶
type NotEnoughParamsError struct{}
ParseError struct for creating parse errors
func (*NotEnoughParamsError) Error ¶
func (e *NotEnoughParamsError) Error() string
type NotFoundError ¶
NotFoundError struct for creating parse errors
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
type PersistParams ¶
type PersistParams interface { String() string Parse(parts []string) (PersistParams, error) }
type PersistRdpCookie ¶
type PersistRdpCookie struct {
Name string
}
func (*PersistRdpCookie) Parse ¶
func (r *PersistRdpCookie) Parse(parts []string) (PersistParams, error)
func (*PersistRdpCookie) String ¶
func (r *PersistRdpCookie) String() string
type ServerOption ¶
type ServerOption interface { Parse(options []string, currentIndex int) (int, error) Valid() bool String() string }
ServerOption ...
type ServerOptionDoubleWord ¶
ServerOptionDoubleWord ...
type ServerOptionIDValue ¶
type ServerOptionValue ¶
ServerOptionValue ...
type ServerOptionWord ¶
type ServerOptionWord struct {
Name string
}
ServerOptionWord ...