Documentation ¶
Index ¶
- func MarshalClient(cc wg.ClientConfig, w io.Writer) error
- func MarshalClientToStr(cc wg.ClientConfig) (result string, err error)
- func UnmarshalClient(r io.Reader, cc *wg.ClientConfig) error
- func UnmarshalClientFromStr(c string, cc *wg.ClientConfig) error
- func UnmarshalServer(r io.Reader, sc *wg.ServerConfig) error
- func UnmarshalServerFromStr(c string, cs *wg.ServerConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalClient ¶
func MarshalClient(cc wg.ClientConfig, w io.Writer) error
MarshalClient will convert a ClientConfig Value in text and serialize it on the io.Writer
func MarshalClientToStr ¶
func MarshalClientToStr(cc wg.ClientConfig) (result string, err error)
MarshalClientToStr will convert a ClientConfig Value in text and return a string with the content
func UnmarshalClient ¶
func UnmarshalClient(r io.Reader, cc *wg.ClientConfig) error
UnmarshalClient will convert a Client Configuration from io.Reader into a ClientConfig Value
func UnmarshalClientFromStr ¶
func UnmarshalClientFromStr(c string, cc *wg.ClientConfig) error
UnmarshalClientFromStr will convert a Client Configuration from io.Reader into a ClientConfig Value
func UnmarshalServer ¶
func UnmarshalServer(r io.Reader, sc *wg.ServerConfig) error
func UnmarshalServerFromStr ¶
func UnmarshalServerFromStr(c string, cs *wg.ServerConfig) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.