fbp

package
v0.0.0-...-1f04649 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Input_TypeID = 0x9f6bf783c59ae53f

Input_TypeID is the unique identifier for the type Input.

View Source
const Input_input_Params_TypeID = 0xdf66370e686c9b09

Input_input_Params_TypeID is the unique identifier for the type Input_input_Params.

View Source
const Input_input_Results_TypeID = 0x9d2556ab64354282

Input_input_Results_TypeID is the unique identifier for the type Input_input_Results.

View Source
const Output_TypeID = 0xf92ba4cc25099ed7

Output_TypeID is the unique identifier for the type Output.

View Source
const Output_output_Params_TypeID = 0xc041f7b2c1f05e54

Output_output_Params_TypeID is the unique identifier for the type Output_output_Params.

View Source
const Output_output_Results_TypeID = 0xb1ffe14d66f53639

Output_output_Results_TypeID is the unique identifier for the type Output_output_Results.

Variables

This section is empty.

Functions

func Input_Methods

func Input_Methods(methods []server.Method, s Input_Server) []server.Method

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

func Input_NewServer

func Input_NewServer(s Input_Server, policy *server.Policy) *server.Server

Input_NewServer creates a new Server from an implementation of Input_Server.

func Output_Methods

func Output_Methods(methods []server.Method, s Output_Server) []server.Method

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

func Output_NewServer

func Output_NewServer(s Output_Server, policy *server.Policy) *server.Server

Output_NewServer creates a new Server from an implementation of Output_Server.

Types

type Input

type Input struct{ Client *capnp.Client }

func Input_ServerToClient

func Input_ServerToClient(s Input_Server, policy *server.Policy) Input

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

func (Input) AddRef

func (c Input) AddRef() Input

func (Input) Input

func (Input) Release

func (c Input) Release()

type Input_Server

type Input_Server interface {
	Input(context.Context, Input_input) error
}

A Input_Server is a Input with a local implementation.

type Input_input

type Input_input struct {
	*server.Call
}

Input_input holds the state for a server call to Input.input. See server.Call for documentation.

func (Input_input) AllocResults

func (c Input_input) AllocResults() (Input_input_Results, error)

AllocResults allocates the results struct.

func (Input_input) Args

Args returns the call's arguments.

type Input_input_Params

type Input_input_Params struct{ capnp.Struct }

func NewInput_input_Params

func NewInput_input_Params(s *capnp.Segment) (Input_input_Params, error)

func NewRootInput_input_Params

func NewRootInput_input_Params(s *capnp.Segment) (Input_input_Params, error)

func ReadRootInput_input_Params

func ReadRootInput_input_Params(msg *capnp.Message) (Input_input_Params, error)

func (Input_input_Params) Data

func (s Input_input_Params) Data() (string, error)

func (Input_input_Params) DataBytes

func (s Input_input_Params) DataBytes() ([]byte, error)

func (Input_input_Params) HasData

func (s Input_input_Params) HasData() bool

func (Input_input_Params) SetData

func (s Input_input_Params) SetData(v string) error

func (Input_input_Params) String

func (s Input_input_Params) String() string

type Input_input_Params_Future

type Input_input_Params_Future struct{ *capnp.Future }

Input_input_Params_Future is a wrapper for a Input_input_Params promised by a client call.

func (Input_input_Params_Future) Struct

type Input_input_Params_List

type Input_input_Params_List struct{ capnp.List }

Input_input_Params_List is a list of Input_input_Params.

func NewInput_input_Params_List

func NewInput_input_Params_List(s *capnp.Segment, sz int32) (Input_input_Params_List, error)

NewInput_input_Params creates a new list of Input_input_Params.

func (Input_input_Params_List) At

func (Input_input_Params_List) Set

func (Input_input_Params_List) String

func (s Input_input_Params_List) String() string

type Input_input_Results

type Input_input_Results struct{ capnp.Struct }

func NewInput_input_Results

func NewInput_input_Results(s *capnp.Segment) (Input_input_Results, error)

func NewRootInput_input_Results

func NewRootInput_input_Results(s *capnp.Segment) (Input_input_Results, error)

func ReadRootInput_input_Results

func ReadRootInput_input_Results(msg *capnp.Message) (Input_input_Results, error)

func (Input_input_Results) String

func (s Input_input_Results) String() string

type Input_input_Results_Future

type Input_input_Results_Future struct{ *capnp.Future }

Input_input_Results_Future is a wrapper for a Input_input_Results promised by a client call.

func (Input_input_Results_Future) Struct

type Input_input_Results_List

type Input_input_Results_List struct{ capnp.List }

Input_input_Results_List is a list of Input_input_Results.

func NewInput_input_Results_List

func NewInput_input_Results_List(s *capnp.Segment, sz int32) (Input_input_Results_List, error)

NewInput_input_Results creates a new list of Input_input_Results.

func (Input_input_Results_List) At

func (Input_input_Results_List) Set

func (Input_input_Results_List) String

func (s Input_input_Results_List) String() string

type Output

type Output struct{ Client *capnp.Client }

func Output_ServerToClient

func Output_ServerToClient(s Output_Server, policy *server.Policy) Output

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

func (Output) AddRef

func (c Output) AddRef() Output

func (Output) Release

func (c Output) Release()

type Output_Server

type Output_Server interface {
	Output(context.Context, Output_output) error
}

A Output_Server is a Output with a local implementation.

type Output_output

type Output_output struct {
	*server.Call
}

Output_output holds the state for a server call to Output.output. See server.Call for documentation.

func (Output_output) AllocResults

func (c Output_output) AllocResults() (Output_output_Results, error)

AllocResults allocates the results struct.

func (Output_output) Args

Args returns the call's arguments.

type Output_output_Params

type Output_output_Params struct{ capnp.Struct }

func NewOutput_output_Params

func NewOutput_output_Params(s *capnp.Segment) (Output_output_Params, error)

func NewRootOutput_output_Params

func NewRootOutput_output_Params(s *capnp.Segment) (Output_output_Params, error)

func ReadRootOutput_output_Params

func ReadRootOutput_output_Params(msg *capnp.Message) (Output_output_Params, error)

func (Output_output_Params) Data

func (s Output_output_Params) Data() (string, error)

func (Output_output_Params) DataBytes

func (s Output_output_Params) DataBytes() ([]byte, error)

func (Output_output_Params) HasData

func (s Output_output_Params) HasData() bool

func (Output_output_Params) SetData

func (s Output_output_Params) SetData(v string) error

func (Output_output_Params) String

func (s Output_output_Params) String() string

type Output_output_Params_Future

type Output_output_Params_Future struct{ *capnp.Future }

Output_output_Params_Future is a wrapper for a Output_output_Params promised by a client call.

func (Output_output_Params_Future) Struct

type Output_output_Params_List

type Output_output_Params_List struct{ capnp.List }

Output_output_Params_List is a list of Output_output_Params.

func NewOutput_output_Params_List

func NewOutput_output_Params_List(s *capnp.Segment, sz int32) (Output_output_Params_List, error)

NewOutput_output_Params creates a new list of Output_output_Params.

func (Output_output_Params_List) At

func (Output_output_Params_List) Set

func (Output_output_Params_List) String

func (s Output_output_Params_List) String() string

type Output_output_Results

type Output_output_Results struct{ capnp.Struct }

func NewOutput_output_Results

func NewOutput_output_Results(s *capnp.Segment) (Output_output_Results, error)

func NewRootOutput_output_Results

func NewRootOutput_output_Results(s *capnp.Segment) (Output_output_Results, error)

func ReadRootOutput_output_Results

func ReadRootOutput_output_Results(msg *capnp.Message) (Output_output_Results, error)

func (Output_output_Results) String

func (s Output_output_Results) String() string

type Output_output_Results_Future

type Output_output_Results_Future struct{ *capnp.Future }

Output_output_Results_Future is a wrapper for a Output_output_Results promised by a client call.

func (Output_output_Results_Future) Struct

type Output_output_Results_List

type Output_output_Results_List struct{ capnp.List }

Output_output_Results_List is a list of Output_output_Results.

func NewOutput_output_Results_List

func NewOutput_output_Results_List(s *capnp.Segment, sz int32) (Output_output_Results_List, error)

NewOutput_output_Results creates a new list of Output_output_Results.

func (Output_output_Results_List) At

func (Output_output_Results_List) Set

func (Output_output_Results_List) String

Jump to

Keyboard shortcuts

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