Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandClose + const CommandRead + const CommandResolveBlob + type CloseParams struct + Handle StreamHandle + func Close(handle StreamHandle) *CloseParams + func (p *CloseParams) Do(ctx context.Context) (err error) + func (v *CloseParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *CloseParams) UnmarshalJSON(data []byte) error + func (v CloseParams) MarshalEasyJSON(w *jwriter.Writer) + func (v CloseParams) MarshalJSON() ([]byte, error) + type ReadParams struct + Handle StreamHandle + Offset int64 + Size int64 + func Read(handle StreamHandle) *ReadParams + func (p *ReadParams) Do(ctx context.Context) (data string, eof bool, err error) + func (p ReadParams) WithOffset(offset int64) *ReadParams + func (p ReadParams) WithSize(size int64) *ReadParams + func (v *ReadParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ReadParams) UnmarshalJSON(data []byte) error + func (v ReadParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ReadParams) MarshalJSON() ([]byte, error) + type ReadReturns struct + Base64encoded bool + Data string + EOF bool + func (v *ReadReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ReadReturns) UnmarshalJSON(data []byte) error + func (v ReadReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v ReadReturns) MarshalJSON() ([]byte, error) + type ResolveBlobParams struct + ObjectID runtime.RemoteObjectID + func ResolveBlob(objectID runtime.RemoteObjectID) *ResolveBlobParams + func (p *ResolveBlobParams) Do(ctx context.Context) (uuid string, err error) + func (v *ResolveBlobParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ResolveBlobParams) UnmarshalJSON(data []byte) error + func (v ResolveBlobParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ResolveBlobParams) MarshalJSON() ([]byte, error) + type ResolveBlobReturns struct + UUID string + func (v *ResolveBlobReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ResolveBlobReturns) UnmarshalJSON(data []byte) error + func (v ResolveBlobReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v ResolveBlobReturns) MarshalJSON() ([]byte, error) + type StreamHandle string + func (t StreamHandle) String() string