anmodapi

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModule

func NewModule(
	local aninterface.StaticData,
	cfg any,
	logger aninterface.AnLogger,
) anware.AnModule

Types

type AnModule

type AnModule struct {
	anware.BaseModule

	Config *Config
	// contains filtered or unexported fields
}

func (*AnModule) HandleAnWare

func (m *AnModule) HandleAnWare()

func (*AnModule) Start

func (m *AnModule) Start()

func (*AnModule) Stop

func (m *AnModule) Stop() error

type Config

type Config struct {
	Host_Glob string `json:"host_glob"`
	Port_Glob int    `json:"port_glob"`

	NameModuleHttp string `json:"name_module_http"`
}

Directories

Path Synopsis
serviceStorage

Jump to

Keyboard shortcuts

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