util

package
v0.0.0-...-0690fc6 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource interface {
	resources.Util
	SetKey(key string) error
}

Resource AFAIRE.

type Util

type Util struct {
	*crypto.Crypto
}

Util AFAIRE.

func New

func New() *Util

New AFAIRE.

func (*Util) CloneLogger

func (u *Util) CloneLogger(logger *logger.Logger, prefix string) *logger.Logger

CloneLogger AFAIRE.

func (*Util) DecodeData

func (u *Util) DecodeData(input, output interface{}) error

DecodeData AFAIRE.

func (*Util) FileExist

func (u *Util) FileExist(file string) (bool, error)

FileExist AFAIRE.

func (*Util) LoggerPrefix

func (u *Util) LoggerPrefix(name, id string) string

LoggerPrefix AFAIRE.

func (*Util) UnixToTime

func (u *Util) UnixToTime(timestamp string) time.Time

UnixToTime AFAIRE.

Jump to

Keyboard shortcuts

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