weberest

package module
v0.0.0-...-aca2b06 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DWLABImport_TypeID = 0xa1a4ad9d143eaa6f

DWLABImport_TypeID is the unique identifier for the type DWLABImport.

View Source
const DWLABImport_importData_Params_TypeID = 0xeb03972caa23c7d2

DWLABImport_importData_Params_TypeID is the unique identifier for the type DWLABImport_importData_Params.

View Source
const DWLABImport_importData_Results_TypeID = 0xb9bc568c49fcca07

DWLABImport_importData_Results_TypeID is the unique identifier for the type DWLABImport_importData_Results.

Variables

This section is empty.

Functions

func DWLABImport_Methods

func DWLABImport_Methods(methods []server.Method, s DWLABImport_Server) []server.Method

DWLABImport_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func DWLABImport_NewServer

func DWLABImport_NewServer(s DWLABImport_Server) *server.Server

DWLABImport_NewServer creates a new Server from an implementation of DWLABImport_Server.

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type DWLABImport

type DWLABImport capnp.Client

func DWLABImport_ServerToClient

func DWLABImport_ServerToClient(s DWLABImport_Server) DWLABImport

DWLABImport_ServerToClient creates a new Client from an implementation of DWLABImport_Server. The caller is responsible for calling Release on the returned Client.

func (DWLABImport) AddRef

func (c DWLABImport) AddRef() DWLABImport

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (DWLABImport) DecodeFromPtr

func (DWLABImport) DecodeFromPtr(p capnp.Ptr) DWLABImport

func (DWLABImport) EncodeAsPtr

func (c DWLABImport) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (DWLABImport) GetFlowLimiter

func (c DWLABImport) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (DWLABImport) IsSame

func (c DWLABImport) IsSame(other DWLABImport) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (DWLABImport) IsValid

func (c DWLABImport) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (DWLABImport) Release

func (c DWLABImport) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (DWLABImport) Resolve

func (c DWLABImport) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (DWLABImport) SetFlowLimiter

func (c DWLABImport) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (DWLABImport) String

func (c DWLABImport) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

func (DWLABImport) WaitStreaming

func (c DWLABImport) WaitStreaming() error

type DWLABImport_List

type DWLABImport_List = capnp.CapList[DWLABImport]

DWLABImport_List is a list of DWLABImport.

func NewDWLABImport_List

func NewDWLABImport_List(s *capnp.Segment, sz int32) (DWLABImport_List, error)

NewDWLABImport creates a new list of DWLABImport.

type DWLABImport_Server

type DWLABImport_Server interface {
	ImportData(context.Context, DWLABImport_importData) error
}

A DWLABImport_Server is a DWLABImport with a local implementation.

type DWLABImport_importData

type DWLABImport_importData struct {
	*server.Call
}

DWLABImport_importData holds the state for a server call to DWLABImport.importData. See server.Call for documentation.

func (DWLABImport_importData) AllocResults

AllocResults allocates the results struct.

func (DWLABImport_importData) Args

Args returns the call's arguments.

type DWLABImport_importData_Params

type DWLABImport_importData_Params capnp.Struct

func NewDWLABImport_importData_Params

func NewDWLABImport_importData_Params(s *capnp.Segment) (DWLABImport_importData_Params, error)

func NewRootDWLABImport_importData_Params

func NewRootDWLABImport_importData_Params(s *capnp.Segment) (DWLABImport_importData_Params, error)

func ReadRootDWLABImport_importData_Params

func ReadRootDWLABImport_importData_Params(msg *capnp.Message) (DWLABImport_importData_Params, error)

func (DWLABImport_importData_Params) DecodeFromPtr

func (DWLABImport_importData_Params) Dwla

func (DWLABImport_importData_Params) Dwlb

func (DWLABImport_importData_Params) EncodeAsPtr

func (s DWLABImport_importData_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (DWLABImport_importData_Params) HasDwla

func (s DWLABImport_importData_Params) HasDwla() bool

func (DWLABImport_importData_Params) HasDwlb

func (s DWLABImport_importData_Params) HasDwlb() bool

func (DWLABImport_importData_Params) HasId

func (DWLABImport_importData_Params) Id

func (DWLABImport_importData_Params) IdBytes

func (s DWLABImport_importData_Params) IdBytes() ([]byte, error)

func (DWLABImport_importData_Params) IsValid

func (s DWLABImport_importData_Params) IsValid() bool

func (DWLABImport_importData_Params) Message

func (DWLABImport_importData_Params) Segment

func (DWLABImport_importData_Params) SetDwla

func (s DWLABImport_importData_Params) SetDwla(v []byte) error

func (DWLABImport_importData_Params) SetDwlb

func (s DWLABImport_importData_Params) SetDwlb(v []byte) error

func (DWLABImport_importData_Params) SetId

func (DWLABImport_importData_Params) String

func (DWLABImport_importData_Params) ToPtr

type DWLABImport_importData_Params_Future

type DWLABImport_importData_Params_Future struct{ *capnp.Future }

DWLABImport_importData_Params_Future is a wrapper for a DWLABImport_importData_Params promised by a client call.

func (DWLABImport_importData_Params_Future) Struct

type DWLABImport_importData_Params_List

type DWLABImport_importData_Params_List = capnp.StructList[DWLABImport_importData_Params]

DWLABImport_importData_Params_List is a list of DWLABImport_importData_Params.

func NewDWLABImport_importData_Params_List

func NewDWLABImport_importData_Params_List(s *capnp.Segment, sz int32) (DWLABImport_importData_Params_List, error)

NewDWLABImport_importData_Params creates a new list of DWLABImport_importData_Params.

type DWLABImport_importData_Results

type DWLABImport_importData_Results capnp.Struct

func NewDWLABImport_importData_Results

func NewDWLABImport_importData_Results(s *capnp.Segment) (DWLABImport_importData_Results, error)

func NewRootDWLABImport_importData_Results

func NewRootDWLABImport_importData_Results(s *capnp.Segment) (DWLABImport_importData_Results, error)

func ReadRootDWLABImport_importData_Results

func ReadRootDWLABImport_importData_Results(msg *capnp.Message) (DWLABImport_importData_Results, error)

func (DWLABImport_importData_Results) DecodeFromPtr

func (DWLABImport_importData_Results) EncodeAsPtr

func (DWLABImport_importData_Results) HasId

func (DWLABImport_importData_Results) Id

func (DWLABImport_importData_Results) IdBytes

func (s DWLABImport_importData_Results) IdBytes() ([]byte, error)

func (DWLABImport_importData_Results) IsValid

func (DWLABImport_importData_Results) Message

func (DWLABImport_importData_Results) Segment

func (DWLABImport_importData_Results) SetId

func (DWLABImport_importData_Results) SetSuccessA

func (s DWLABImport_importData_Results) SetSuccessA(v bool)

func (DWLABImport_importData_Results) SetSuccessB

func (s DWLABImport_importData_Results) SetSuccessB(v bool)

func (DWLABImport_importData_Results) String

func (DWLABImport_importData_Results) SuccessA

func (s DWLABImport_importData_Results) SuccessA() bool

func (DWLABImport_importData_Results) SuccessB

func (s DWLABImport_importData_Results) SuccessB() bool

func (DWLABImport_importData_Results) ToPtr

type DWLABImport_importData_Results_Future

type DWLABImport_importData_Results_Future struct{ *capnp.Future }

DWLABImport_importData_Results_Future is a wrapper for a DWLABImport_importData_Results promised by a client call.

func (DWLABImport_importData_Results_Future) Struct

type DWLABImport_importData_Results_List

type DWLABImport_importData_Results_List = capnp.StructList[DWLABImport_importData_Results]

DWLABImport_importData_Results_List is a list of DWLABImport_importData_Results.

func NewDWLABImport_importData_Results_List

func NewDWLABImport_importData_Results_List(s *capnp.Segment, sz int32) (DWLABImport_importData_Results_List, error)

NewDWLABImport_importData_Results creates a new list of DWLABImport_importData_Results.

Jump to

Keyboard shortcuts

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