util

package module
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: AGPL-3.0 Imports: 1 Imported by: 1

README

util-go

Common utils across based on Cellularhacker's code written in Go.

Usage

  • How to import?
go get -u github.com/Cellularhacker/util-go

※ Important

  • package name is just util. so you have to use like util.Trim(), not apiError-go.Trim().

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type TelegramBotConfig

type TelegramBotConfig interface {
	SendMessageAt(message string, at ...time.Time)
	SendStarted(hostname string, localIP string, publicIP string)
	SendStopped(hostname string, localIP string, publicIP string)
	SendFailed(location string, err error, at ...time.Time)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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