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

# Functions

NewVpnServer returns vpn server.
SetDefaultLogger is to set logger for vpn server.
WithAuthMethods returns OptionFunc for inserting GRPC authentication method.
WithGrpcOptions returns OptionFunc for inserting GRPC OPTIONS.
WithGrpcPort returns OptionFunc for inserting GRPC PORT.
WithGrpcStreamInterceptors returns OptionFunc for inserting GRPC Stream Interceptors( such as checking header associated JWT ).
WithGrpcTlsCertification returns OptionFunc for inserting GRPC TLS Certification.
WithGrpcTlsPem returns OptionFunc for inserting GRPC TLS PRIVATE PEM.
WithGrpcUnaryInterceptors returns OptionFunc for inserting GRPC Unary Interceptors( such as auth(Google OpenId, AWS IAM) ).
WithVpnJwtExpiration returns OptionFunc for inserting VPN expiration time.
WithVpnJwtSalt returns OptionFunc for inserting VPN JWT SALT.
WithVpnSubNet returns OptionFunc for inserting VPN SUBNET.

# Structs

AuthorizedContext is a wrapper for stream context in GRPC.

# Interfaces

Option is to use a dependency injection for handler.
No description provided by the author
VpnServer is an interface for utilizing vpn operations.

# Type aliases

OptionFunc is a function for Option interface.