executablehash

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package executablehash detect the SHA256 of the running binary

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() (string, error)

Get gets the hashcode of the executable of this binary

func GetByName added in v1.21.4

func GetByName(name string) (string, error)

GetByName gets the hashcode of a binary given its filename

func Stream

func Stream() (io.ReadCloser, error)

Stream opens a stream reading from the executable of the current binary

func StreamByName added in v1.21.4

func StreamByName(name string) (io.ReadCloser, error)

StreamByName opens a stream reading from an executable given its name

Types

This section is empty.

Jump to

Keyboard shortcuts

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