internal

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON

func JSON(mudfile *mudyang.Mudfile) (string, error)

func LoadOrCreateKey

func LoadOrCreateKey(keyFilepath, certFilepath string) (*x509.Certificate, crypto.Signer, error)

func MUDFilename

func MUDFilename(filepath string) (string, error)

func MUDSignatureURL

func MUDSignatureURL(mudfile *mudyang.Mudfile) (*url.URL, error)

func MUDURL

func MUDURL(mudfile *mudyang.Mudfile) (*url.URL, error)

func NewMUDSignatureURL

func NewMUDSignatureURL(mudurl *url.URL, filename string) *url.URL

func Parse

func Parse(data []byte) (*mudyang.Mudfile, error)

func Read

func Read(filepath string) ([]byte, error)

func ReadMUDFileFrom

func ReadMUDFileFrom(filepath string) (*mudyang.Mudfile, error)

func SignatureFilename

func SignatureFilename(filepath string) (string, error)

func Validate

func Validate(mudfile *mudyang.Mudfile) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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