Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterfaceID ¶
func InterfaceID(id *uint) option
func SocketFile ¶
func SocketFile(path string) option
func StartAction ¶
func StartAction(startAction string) option
Types ¶
type StrongSwanManager ¶
type StrongSwanManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...option) (*StrongSwanManager, error)
func (StrongSwanManager) InitiateConn ¶
func (m StrongSwanManager) InitiateConn(name string) error
func (StrongSwanManager) IsActive ¶
func (m StrongSwanManager) IsActive() (bool, error)
func (StrongSwanManager) ListConnNames ¶
func (m StrongSwanManager) ListConnNames() ([]string, error)
func (StrongSwanManager) LoadConn ¶
func (m StrongSwanManager) LoadConn(cnf tunnel.ConnConfig) error
func (StrongSwanManager) UnloadConn ¶
func (m StrongSwanManager) UnloadConn(name string) error
Click to show internal directories.
Click to hide internal directories.