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 ServerOptionsString(options []ServerOption) string
- type BalanceHdr
- type BalanceParams
- type BalanceRandom
- type BalanceRdpCookie
- type BalanceURI
- type BalanceURLParam
- type BindOption
- type BindOptionDoubleWord
- type BindOptionValue
- type BindOptionWord
- type ErrNotEnoughParams
- type ErrNotFound
- type ErrParseBindOption
- type ErrParseServerOption
- type ServerOption
- type ServerOptionDoubleWord
- 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 ServerOptionsString ¶
func ServerOptionsString(options []ServerOption) string
Types ¶
type BalanceHdr ¶
func (*BalanceHdr) Parse ¶
func (h *BalanceHdr) Parse(parts []string) (bp BalanceParams, err 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) (bp BalanceParams, err 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) (bp BalanceParams, err error)
func (*BalanceRdpCookie) String ¶
func (r *BalanceRdpCookie) String() string
type BalanceURI ¶
func (*BalanceURI) Parse ¶
func (b *BalanceURI) Parse(parts []string) (bp BalanceParams, err error)
func (*BalanceURI) String ¶
func (b *BalanceURI) String() string
type BalanceURLParam ¶
func (*BalanceURLParam) Parse ¶
func (u *BalanceURLParam) Parse(parts []string) (bp BalanceParams, err 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 BindOptionWord ¶
type BindOptionWord struct {
Name string
}
BindOptionWord ...
type ErrNotEnoughParams ¶
type ErrNotEnoughParams struct { }
ParseError struct for creating parse errors
func (*ErrNotEnoughParams) Error ¶
func (e *ErrNotEnoughParams) Error() string
type ErrNotFound ¶
ErrNotFound struct for creating parse errors
func (*ErrNotFound) Error ¶
func (e *ErrNotFound) Error() string
type ErrParseBindOption ¶
type ErrParseBindOption interface {
Error() string
}
type ErrParseServerOption ¶
type ErrParseServerOption interface {
Error() string
}
type ServerOption ¶
type ServerOption interface { Parse(options []string, currentIndex int) (int, error) Valid() bool String() string }
ServerOption ...
type ServerOptionDoubleWord ¶
ServerOptionDoubleWord ...
type ServerOptionValue ¶
ServerOptionValue ...
type ServerOptionWord ¶
type ServerOptionWord struct {
Name string
}
ServerOptionWord ...
Click to show internal directories.
Click to hide internal directories.