u2byckdump

command module
v0.0.0-...-6246eb3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Unlicense Imports: 27 Imported by: 0

README

Parse and serve fresh Belarusian dump of restricted sites

IMPORTANT NOTE

This program is a part of Usher2 ecosystem. The gRPC service will never be published

USE

  • First the program tries to parse a dump.xml file if it exists
  • Then the program periodically tries to fetch a dump from a dump sources server

FEATURES

  • Native IPv4 string to 32-bit integer implementation
  • gRPC service for check IPv4, URL, Domain

WARNING

  • Stream parsing a <resource>...</resource> object is not a good idea. Because we need some checksum on updates before data applying. So I use Decode() method for <resource>...</resource> parsing
  • I don't trust to any data. I'm not trying to guess unknown errors. Only known patterns. Belarusian officials are such entertainers

TODO

  • Native RFC3339 parsing
  • gRPC service for check IPv4, URL, Domain
  • Stream parsing every <resource>...</resource> object including unchanged is the subject for discussion

UNLICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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