Documentation
¶
Overview ¶
Copyright Louis Royer and the NextMN contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright Louis Royer and the NextMN contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright Louis Royer and the NextMN contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright Louis Royer and the NextMN contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright Louis Royer and the NextMN contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct {
// contains filtered or unexported fields
}
Configuration
func (Conf) AddUserHooks ¶
Add a new hook to the configuration
type HookMulti ¶
type HookMulti struct {
// contains filtered or unexported fields
}
init & exit hooks
func NewIPRouteHooks ¶
Create init & exit hooks
func NewUserHooks ¶
Create init & exit hooks
type HookSingle ¶
init or exit hook iface
type IPRouteHook ¶
type IPRouteHook struct {
// contains filtered or unexported fields
}
IP Route Hook
func NewIPRouteHook ¶
func NewIPRouteHook(name string, env string) IPRouteHook
Create an IP Route Hook
func (IPRouteHook) String ¶
func (hook IPRouteHook) String() []string
Returns hook information in an human format
type UserHook ¶
type UserHook struct {
// contains filtered or unexported fields
}
Hook
func NewUserHook ¶
Creates a new Hook from environment variables