base

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPLDPkg            = "github.com/ipld/go-ipld-prime"
	IPLDDatamodelPkg   = "github.com/ipld/go-ipld-prime/datamodel"
	EdelweissValuesPkg = values.PkgPath
)
View Source
const EdelweissServicesPkg = services.PkgPath

Variables

View Source
var (
	SyncMutex                 = cg.GoTypeRef{PkgPath: "sync", TypeName: "Mutex"}
	Context                   = cg.GoTypeRef{PkgPath: "context", TypeName: "Context"}
	ContextWithCancel         = cg.GoTypeRef{PkgPath: "context", TypeName: "WithCancel"}
	ContextCanceled           = cg.GoTypeRef{PkgPath: "context", TypeName: "Canceled"}
	ContextDeadlineExceeded   = cg.GoTypeRef{PkgPath: "context", TypeName: "DeadlineExceeded"}
	HTTPClient                = cg.GoTypeRef{PkgPath: "net/http", TypeName: "Client"}
	HTTPDefaultClient         = cg.GoTypeRef{PkgPath: "net/http", TypeName: "DefaultClient"}
	HTTPNewRequestWithContext = cg.GoRef{PkgPath: "net/http", Name: "NewRequestWithContext"}
	HTTPHandlerFunc           = cg.GoTypeRef{PkgPath: "net/http", TypeName: "HandlerFunc"}
	HTTPRequest               = cg.GoTypeRef{PkgPath: "net/http", TypeName: "Request"}
	HTTPResponseWriter        = cg.GoTypeRef{PkgPath: "net/http", TypeName: "ResponseWriter"}
	HTTPFlusher               = cg.GoTypeRef{PkgPath: "net/http", TypeName: "Flusher"}
	URL                       = cg.GoTypeRef{PkgPath: "net/url", TypeName: "URL"}
	URLParse                  = cg.GoRef{PkgPath: "net/url", Name: "Parse"}
	URLValues                 = cg.GoRef{PkgPath: "net/url", Name: "Values"}
	BytesBuffer               = cg.GoTypeRef{PkgPath: "bytes", TypeName: "Buffer"}
	BytesNewReader            = cg.GoRef{PkgPath: "bytes", Name: "NewReader"}
)
View Source
var (
	IOReadCloser       = &cg.GoRef{PkgPath: "io", Name: "ReadCloser"}
	IOWriter           = &cg.GoRef{PkgPath: "io", Name: "Writer"}
	IOEOF              = &cg.GoRef{PkgPath: "io", Name: "EOF"}
	IOErrUnexpectedEOF = &cg.GoRef{PkgPath: "io", Name: "ErrUnexpectedEOF"}
	IOReadAll          = &cg.GoRef{PkgPath: "io", Name: "ReadAll"}
)
View Source
var (
	EdelweissErrContext = &cg.GoTypeRef{PkgPath: EdelweissServicesPkg, TypeName: "ErrContext"}
	EdelweissErrProto   = &cg.GoTypeRef{PkgPath: EdelweissServicesPkg, TypeName: "ErrProto"}
	EdelweissErrService = &cg.GoTypeRef{PkgPath: EdelweissServicesPkg, TypeName: "ErrService"}
	EdelweissErrSchema  = &cg.GoRef{PkgPath: EdelweissServicesPkg, Name: "ErrSchema"}
	EdelweissETag       = &cg.GoRef{PkgPath: EdelweissServicesPkg, Name: "ETag"}
)
View Source
var (
	Nil          = cg.V("nil")
	IPLDKindType = &cg.GoTypeRef{PkgPath: IPLDDatamodelPkg, TypeName: "Kind"}
	IPLDNull     = &cg.GoTypeRef{PkgPath: IPLDDatamodelPkg, TypeName: "Null"}
	// IPLD kind values
	IPLDKindInvalid = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_Invalid"}
	IPLDKindNull    = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_Null"}
	IPLDKindBool    = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_Bool"}
	IPLDKindInt     = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_Int"}
	IPLDKindFloat   = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_Float"}
	IPLDKindLink    = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_Link"}
	IPLDKindString  = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_String"}
	IPLDKindList    = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_List"}
	IPLDKindMap     = &cg.GoRef{PkgPath: IPLDDatamodelPkg, Name: "Kind_Map"}

	IPLDNodeType          = &cg.GoTypeRef{PkgPath: IPLDDatamodelPkg, TypeName: "Node"}
	IPLDMapIteratorType   = &cg.GoTypeRef{PkgPath: IPLDDatamodelPkg, TypeName: "MapIterator"}
	IPLDListIteratorType  = &cg.GoTypeRef{PkgPath: IPLDDatamodelPkg, TypeName: "ListIterator"}
	IPLDPathSegment       = &cg.GoTypeRef{PkgPath: IPLDDatamodelPkg, TypeName: "PathSegment"}
	IPLDLinkType          = &cg.GoTypeRef{PkgPath: IPLDDatamodelPkg, TypeName: "Link"}
	IPLDNodePrototypeType = &cg.GoTypeRef{PkgPath: IPLDDatamodelPkg, TypeName: "NodePrototype"}

	IPLDDeepEqual        = &cg.GoRef{PkgPath: IPLDPkg, Name: "DeepEqual"}
	IPLDEncode           = &cg.GoRef{PkgPath: IPLDPkg, Name: "Encode"}
	IPLDEncodeStreaming  = &cg.GoRef{PkgPath: IPLDPkg, Name: "EncodeStreaming"}
	IPLDDecode           = &cg.GoRef{PkgPath: IPLDPkg, Name: "Decode"}
	IPLDDecodeStreaming  = &cg.GoRef{PkgPath: IPLDPkg, Name: "DecodeStreaming"}
	DAGJSONEncode        = cg.GoRef{PkgPath: "github.com/ipld/go-ipld-prime/codec/dagjson", Name: "Encode"}
	DAGJSONDecode        = cg.GoRef{PkgPath: "github.com/ipld/go-ipld-prime/codec/dagjson", Name: "Decode"}
	DAGJSONDecodeOptions = cg.GoTypeRef{PkgPath: "github.com/ipld/go-ipld-prime/codec/dagjson", TypeName: "DecodeOptions"}
	DAGCBOREncode        = cg.GoRef{PkgPath: "github.com/ipld/go-ipld-prime/codec/dagcbor", Name: "Encode"}
	DAGCBORDecode        = cg.GoRef{PkgPath: "github.com/ipld/go-ipld-prime/codec/dagcbor", Name: "Decode"}
)
View Source
var (
	EdelweissErrNA       = &cg.GoRef{PkgPath: EdelweissValuesPkg, Name: "ErrNA"}
	EdelweissErrBounds   = &cg.GoRef{PkgPath: EdelweissValuesPkg, Name: "ErrBounds"}
	EdelweissErrNotFound = &cg.GoRef{PkgPath: EdelweissValuesPkg, Name: "ErrNotFound"}
	EdelweissString      = &cg.GoRef{PkgPath: EdelweissValuesPkg, Name: "String"}
	EdelweissInt         = &cg.GoRef{PkgPath: EdelweissValuesPkg, Name: "Int"}
	EdelweissParseFunc   = &cg.GoRef{PkgPath: EdelweissValuesPkg, Name: "ParseFunc"}
)
View Source
var (
	Errorf    = &cg.GoRef{PkgPath: "fmt", Name: "Errorf"}
	ErrorsIs  = &cg.GoRef{PkgPath: "errors", Name: "Is"}
	ErrorsNew = &cg.GoRef{PkgPath: "errors", Name: "New"}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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