common

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

View Source
const (
	ColTypeBoolean       uint32 = 5
	ColTypeInt64         uint32 = 6
	ColTypeFloat64       uint32 = 7
	ColTypeChar          uint32 = 8
	ColTypeVarChar       uint32 = 9
	ColTypeDate          uint32 = 10
	ColTypeTime          uint32 = 11
	ColTypeTimestamp     uint32 = 12
	ColTypeTimestampTZ   uint32 = 13
	ColTypeInterval      uint32 = 14
	ColTypeIntervalYM    uint32 = 114
	ColTypeTimeTZ        uint32 = 15
	ColTypeNumeric       uint32 = 16
	ColTypeVarBinary     uint32 = 17
	ColTypeUUID          uint32 = 20
	ColTypeLongVarChar   uint32 = 115
	ColTypeLongVarBinary uint32 = 116
	ColTypeBinary        uint32 = 117
)
View Source
const (
	AuthenticationOK                int32 = 0
	AuthenticationCleartextPassword int32 = 3
	AuthenticationMD5Password       int32 = 5
	AuthenticationOAuth             int32 = 12
	AuthenticationSHA512Password    int32 = 66048
)

Authentication Response/States

Variables

This section is empty.

Functions

func ColumnTypeString

func ColumnTypeString(typeOID uint32, typeModifier int32) string

func CurrentFile added in v0.1.4

func CurrentFile() string

func CurrentLine added in v0.1.4

func CurrentLine() int

func GetReadableFileSizes added in v0.1.4

func GetReadableFileSizes(fileList []string) ([]uint64, error)

Types

type ParameterType

type ParameterType struct {
	TypeOID      uint32
	TypeName     string
	TypeModifier int32
	Nullable     bool
}

Jump to

Keyboard shortcuts

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