stolas

package module
v0.0.0-...-355141b Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client stolas client structure

func NewClient

func NewClient(address string) *Client

NewClient initialize stolas client

func (*Client) LogStep

func (c *Client) LogStep(email, cvHash, origin, step, data, stacktrace string) error

LogStep logs data

type Server

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

Server stolas server structure

func NewServer

func NewServer(dbFilePath string) (*Server, error)

NewServer initialize stolas server

func (*Server) Close

func (s *Server) Close()

Close closes database connection

func (*Server) LogStep

func (s *Server) LogStep(email, cvHash, origin, step, data, stacktrace string) error

LogStep logs data

Jump to

Keyboard shortcuts

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