collect

package
v0.0.0-...-a6e4c85 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGitDirs

func GetGitDirs(logger *zap.Logger, cdUp string, exitCode int, pwd string) (string, string)

GetGitDirs based on result of git "cdup" command

func GetTimezoneOffsetInSeconds

func GetTimezoneOffsetInSeconds(logger *zap.Logger, zone string) float64

GetTimezoneOffsetInSeconds based on zone returned by date command

func ReadFileContent

func ReadFileContent(logger *zap.Logger, path string) string

ReadFileContent and return it as a string

func SendRecord

func SendRecord(out *output.Output, r recordint.Collect, port, path string)

SendRecord to daemon

func SendSessionInit

func SendSessionInit(out *output.Output, r recordint.SessionInit, port string)

SendSessionInit to daemon

Types

This section is empty.

Jump to

Keyboard shortcuts

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