server

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: BSD-2-Clause Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Journal

func Journal(gg *gogroup.Group, bus *mbus.Bus, test bool, tag []string, since string)

func Load_fail2ban

func Load_fail2ban(gg *gogroup.Group, f2bdb, home string)

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(gg *gogroup.Group, home string, rbls []string) *Server

func (*Server) Bl

func (o *Server) Bl(ip, toml string, rbl, log interface{}, ts time.Time) (last_insert_id int64)

func (*Server) Bl_update_ts

func (o *Server) Bl_update_ts(ip string, ts time.Time) (last_insert_id int64, updated bool)

Check ip existence before update

func (*Server) Q

func (o *Server) Q(ip string)

func (*Server) Rm

func (o *Server) Rm(ip string)

func (*Server) Run

func (o *Server) Run(since string, nf_mode bool)

func (*Server) WB

func (o *Server) WB() *list.WB

func (*Server) Wl

func (o *Server) Wl(ip string)

type Stime

type Stime time.Time

func (*Stime) Scan

func (o *Stime) Scan(v interface{}) error

Directories

Path Synopsis
jep
Package jep parses systemd journal export format readers
Package jep parses systemd journal export format readers

Jump to

Keyboard shortcuts

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