audit

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DB string `yaml:"db_path" doc:"path to the database file"`
}

type Server

type Server struct {
	*apb.UnimplementedAuditServer
	// contains filtered or unexported fields
}

func New

func New(conf *Config) (*Server, error)

func (*Server) CheckDevice

func (s *Server) CheckDevice(ctx context.Context, req *apb.CheckRequest) (*apb.CheckResponse, error)

func (*Server) Close

func (s *Server) Close()

func (*Server) GetLogs

func (s *Server) GetLogs(ctx context.Context, req *apb.GetLogsRequest) (*apb.GetLogsResponse, error)

func (*Server) Ingest

func (s *Server) Ingest(ctx context.Context, req *apb.Log) (*emptypb.Empty, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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