package
1.3.0
Repository: https://github.com/gjbae1212/grpc-vpn.git
Documentation: pkg.go.dev

# Functions

NewVpnClient returns new vpn client.
SetDefaultLogger is to set logger for vpn client.
WithAuthMethod returns OptionFunc for inserting auth method.
WithGRPCInsecure returns OptionFunc for inserting grpc insecure.
WithSelfSignedCertification returns OptionFunc for inserting grpc custom certification.
WithServerAddr returns OptionFunc for inserting server addr.
WithServerPort returns OptionFunc for inserting server port.

# Structs

No description provided by the author

# Interfaces

Option is to use a dependency injection for handler.
VpnClient is an interface for connecting to VPN server.

# Type aliases

OptionFunc is a function for Option interface.