enum

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by enum generator; DO NOT EDIT.

Code generated by enum generator; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	EventTypeChmod  = EventType{/* contains filtered or unexported fields */}
	EventTypeCreate = EventType{/* contains filtered or unexported fields */}
	EventTypeRemove = EventType{/* contains filtered or unexported fields */}
	EventTypeRename = EventType{/* contains filtered or unexported fields */}
	EventTypeWrite  = EventType{/* contains filtered or unexported fields */}
)

Public constants for eventType values

View Source
var (
	HashAlgMD5        = HashAlg{/* contains filtered or unexported fields */}
	HashAlgSHA1       = HashAlg{/* contains filtered or unexported fields */}
	HashAlgSHA224     = HashAlg{/* contains filtered or unexported fields */}
	HashAlgSHA256     = HashAlg{/* contains filtered or unexported fields */}
	HashAlgSHA384     = HashAlg{/* contains filtered or unexported fields */}
	HashAlgSHA512     = HashAlg{/* contains filtered or unexported fields */}
	HashAlgSHA512_224 = HashAlg{/* contains filtered or unexported fields */}
	HashAlgSHA512_256 = HashAlg{/* contains filtered or unexported fields */}
)

Public constants for hashAlg values

Functions

func EventTypeNames

func EventTypeNames() []string

EventTypeNames returns all possible enum names

func HashAlgNames

func HashAlgNames() []string

HashAlgNames returns all possible enum names

Types

type EventType

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

EventType is the exported type for the enum

func EventTypeValues

func EventTypeValues() []EventType

EventTypeValues returns all possible enum values

func MustEventType

func MustEventType(v string) EventType

MustEventType is like ParseEventType but panics if string is invalid

func ParseEventType

func ParseEventType(v string) (EventType, error)

ParseEventType converts string to eventType enum value

func (EventType) MarshalText

func (e EventType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler

func (*EventType) Scan

func (e *EventType) Scan(value interface{}) error

Scan implements the sql.Scanner interface

func (EventType) String

func (e EventType) String() string

func (*EventType) UnmarshalText

func (e *EventType) UnmarshalText(text []byte) error

UnmarshalText implements encoding.TextUnmarshaler

func (EventType) Value

func (e EventType) Value() (driver.Value, error)

Value implements the driver.Valuer interface

type HashAlg

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

HashAlg is the exported type for the enum

func HashAlgValues

func HashAlgValues() []HashAlg

HashAlgValues returns all possible enum values

func MustHashAlg

func MustHashAlg(v string) HashAlg

MustHashAlg is like ParseHashAlg but panics if string is invalid

func ParseHashAlg

func ParseHashAlg(v string) (HashAlg, error)

ParseHashAlg converts string to hashAlg enum value

func (HashAlg) MarshalText

func (e HashAlg) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler

func (*HashAlg) Scan

func (e *HashAlg) Scan(value interface{}) error

Scan implements the sql.Scanner interface

func (HashAlg) String

func (e HashAlg) String() string

func (*HashAlg) UnmarshalText

func (e *HashAlg) UnmarshalText(text []byte) error

UnmarshalText implements encoding.TextUnmarshaler

func (HashAlg) Value

func (e HashAlg) Value() (driver.Value, error)

Value implements the driver.Valuer interface

Jump to

Keyboard shortcuts

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