gob

package
v0.0.0-...-fab57c2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gob provides a mockable wrapper for encoding/gob.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) NewDecoder

func (*Impl) NewDecoder(r io.Reader) *gob.Decoder

func (*Impl) NewEncoder

func (*Impl) NewEncoder(w io.Writer) *gob.Encoder

func (*Impl) Register

func (*Impl) Register(value any)

func (*Impl) RegisterName

func (*Impl) RegisterName(name string, value any)

type Interface

type Interface interface {
	NewDecoder(r io.Reader) *gob.Decoder
	NewEncoder(w io.Writer) *gob.Encoder
	Register(value any)
	RegisterName(name string, value any)
}

Jump to

Keyboard shortcuts

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