serializer

package
v0.0.0-...-995e40d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL