Help us shape the future of Go! Take the 2026 Go Developer Survey

hashes

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hashes

type Hashes = struct {
	MD5    string `json:"md5"`
	SHA1   string `json:"sha1"`
	SHA256 string `json:"sha256"`
}

type Service

type Service struct{}

func New

func New() *Service

func (*Service) Generate

func (h *Service) Generate(s string) Hashes

func (*Service) ServiceName

func (h *Service) ServiceName() string

func (*Service) ServiceShutdown

func (h *Service) ServiceShutdown() error

func (*Service) ServiceStartup

func (h *Service) ServiceStartup(context.Context, application.ServiceOptions) error

Jump to

Keyboard shortcuts

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