helpers

package
v1.0.0-develop.12 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Codec codec.Codec

Functions

func MustWriteTmpFile

func MustWriteTmpFile(tmpDir string, content []byte) string

func WriteTmpFile

func WriteTmpFile(tmpDir string, content []byte) (string, error)

Types

type DeepCopyCreateDid

type DeepCopyCreateDid struct {
	TDeepCopy
}

DeepCopyCreateDid is a decorator for deep copy of type MsgCreateDidPayload.

func (*DeepCopyCreateDid) DeepCopy

type DeepCopyCreateResource

type DeepCopyCreateResource struct {
	TDeepCopy
}

DeepCopyCreateResource is a decorator for deep copy of type MsgCreateResource.

func (*DeepCopyCreateResource) DeepCopy

type DeepCopyUpdateDid

type DeepCopyUpdateDid struct {
	TDeepCopy
}

DeepCopyUpdateDid is a decorator for deep copy of type MsgUpdateDidPayload.

func (*DeepCopyUpdateDid) DeepCopy

type IDeepCopy

type IDeepCopy interface {
	DeepCopy(src interface{}) interface{}
}

IDeepCopy is an interface for deep copy in the decorator pattern.

type TDeepCopy

type TDeepCopy struct{}

TDeepCopy is a decorator for deep copy.

func (*TDeepCopy) DeepCopy

func (d *TDeepCopy) DeepCopy(src interface{}) interface{}

Jump to

Keyboard shortcuts

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