dkim

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseParams

func ParseParams(s string) (map[string]string, error)

Types

type KeyType

type KeyType string
const (
	KeyTypeRSA KeyType = "rsa"
)

k=

type Record

type Record struct {
	Version   string `mapstructure:"version"`
	KeyType   string `mapstructure:"key-type"`
	PublicKey string `mapstructure:"public-key"`
}

func FromRecordFile

func FromRecordFile(r io.Reader) (*Record, error)

func (*Record) RecordPrefix

func (r *Record) RecordPrefix() string

func (*Record) RecordType

func (r *Record) RecordType() string

func (*Record) RecordValue

func (r *Record) RecordValue() string

func (*Record) String

func (r *Record) String() string

Jump to

Keyboard shortcuts

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