mirror of
https://github.com/OMGeeky/flucto-heisskleber.git
synced 2026-01-19 01:45:56 +01:00
This commit is a lot and adds breaking changes. Also adds a UDP subscriber and publisher.
15 lines
225 B
Python
15 lines
225 B
Python
from dataclasses import dataclass
|
|
|
|
from heisskleber.config import BaseConf
|
|
|
|
|
|
@dataclass
|
|
class UdpConf(BaseConf):
|
|
"""
|
|
UDP configuration.
|
|
"""
|
|
|
|
port: int = 1234
|
|
ip: str = "127.0.0.1"
|
|
packer: str = "json"
|