tlsmode

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSMode

type TLSMode uint8
const (
	TLSNone TLSMode = iota
	TLSStartTLS
	TLSStrictTLS
)

func TLSModeFromInt

func TLSModeFromInt(i int64) TLSMode

func TLSModeFromString

func TLSModeFromString(str string) TLSMode

func (TLSMode) Int

func (tlm TLSMode) Int() int64

func (TLSMode) MarshalJSON

func (tlm TLSMode) MarshalJSON() ([]byte, error)

func (TLSMode) String

func (tlm TLSMode) String() string

func (*TLSMode) UnmarshalJSON

func (tlm *TLSMode) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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