features

package
v0.10.10 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateInstanceID

func GenerateInstanceID() string

GenerateInstanceID - возвращает ID для текущей ошибки.

Types

type StackTrace

type StackTrace struct {
	// contains filtered or unexported fields
}

StackTrace - стек вызов функций.

func NewStackTrace

func NewStackTrace() *StackTrace

NewStackTrace - создаёт объект StackTrace.

func (*StackTrace) Count

func (s *StackTrace) Count() int

Count - возвращается количество элементов в стеке вызовов.

func (*StackTrace) Item added in v0.10.4

func (s *StackTrace) Item(i int) (name, file string, line int)

Item - возвращает имя функции указанного элемента, путь к файлу и номер строки кода. Если i превысит кол-во элементов в стеке вызовов, то будет вызвана panic.

Jump to

Keyboard shortcuts

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