Documentation ¶
Index ¶
- Constants
- func HashFactory_Methods(methods []server.Method, s HashFactory_Server) []server.Method
- func Hash_Methods(methods []server.Method, s Hash_Server) []server.Method
- type Hash
- type HashFactory
- type HashFactory_Server
- type HashFactory_newSha1
- type HashFactory_newSha1_Params
- type HashFactory_newSha1_Params_List
- type HashFactory_newSha1_Params_Promise
- type HashFactory_newSha1_Results
- type HashFactory_newSha1_Results_List
- type HashFactory_newSha1_Results_Promise
- type Hash_Server
- type Hash_sum
- type Hash_sum_Params
- type Hash_sum_Params_List
- type Hash_sum_Params_Promise
- type Hash_sum_Results
- type Hash_sum_Results_List
- type Hash_sum_Results_Promise
- type Hash_write
- type Hash_write_Params
- type Hash_write_Params_List
- type Hash_write_Params_Promise
- type Hash_write_Results
- type Hash_write_Results_List
- type Hash_write_Results_Promise
Constants ¶
const HashFactory_newSha1_Params_TypeID = 0x92b20ad1a58ca0ca
HashFactory_newSha1_Params_TypeID is the unique identifier for the type HashFactory_newSha1_Params.
const HashFactory_newSha1_Results_TypeID = 0xea3e50f7663f7bdf
HashFactory_newSha1_Results_TypeID is the unique identifier for the type HashFactory_newSha1_Results.
const Hash_sum_Params_TypeID = 0xe74bb2d0190cf89c
Hash_sum_Params_TypeID is the unique identifier for the type Hash_sum_Params.
const Hash_sum_Results_TypeID = 0xd093963b95a4e107
Hash_sum_Results_TypeID is the unique identifier for the type Hash_sum_Results.
const Hash_write_Params_TypeID = 0xdffe94ae546cdee3
Hash_write_Params_TypeID is the unique identifier for the type Hash_write_Params.
const Hash_write_Results_TypeID = 0x80ac741ec7fb8f65
Hash_write_Results_TypeID is the unique identifier for the type Hash_write_Results.
Variables ¶
This section is empty.
Functions ¶
func HashFactory_Methods ¶
func HashFactory_Methods(methods []server.Method, s HashFactory_Server) []server.Method
func Hash_Methods ¶
func Hash_Methods(methods []server.Method, s Hash_Server) []server.Method
Types ¶
type Hash ¶
func Hash_ServerToClient ¶
func Hash_ServerToClient(s Hash_Server) Hash
func (Hash) Sum ¶
func (c Hash) Sum(ctx context.Context, params func(Hash_sum_Params) error, opts ...capnp.CallOption) Hash_sum_Results_Promise
func (Hash) Write ¶
func (c Hash) Write(ctx context.Context, params func(Hash_write_Params) error, opts ...capnp.CallOption) Hash_write_Results_Promise
type HashFactory ¶
func HashFactory_ServerToClient ¶
func HashFactory_ServerToClient(s HashFactory_Server) HashFactory
func (HashFactory) NewSha1 ¶
func (c HashFactory) NewSha1(ctx context.Context, params func(HashFactory_newSha1_Params) error, opts ...capnp.CallOption) HashFactory_newSha1_Results_Promise
type HashFactory_Server ¶
type HashFactory_Server interface {
NewSha1(HashFactory_newSha1) error
}
type HashFactory_newSha1 ¶
type HashFactory_newSha1 struct { Ctx context.Context Options capnp.CallOptions Params HashFactory_newSha1_Params Results HashFactory_newSha1_Results }
HashFactory_newSha1 holds the arguments for a server call to HashFactory.newSha1.
type HashFactory_newSha1_Params ¶
func NewHashFactory_newSha1_Params ¶
func NewHashFactory_newSha1_Params(s *capnp.Segment) (HashFactory_newSha1_Params, error)
func NewRootHashFactory_newSha1_Params ¶
func NewRootHashFactory_newSha1_Params(s *capnp.Segment) (HashFactory_newSha1_Params, error)
func ReadRootHashFactory_newSha1_Params ¶
func ReadRootHashFactory_newSha1_Params(msg *capnp.Message) (HashFactory_newSha1_Params, error)
func (HashFactory_newSha1_Params) String ¶
func (s HashFactory_newSha1_Params) String() string
type HashFactory_newSha1_Params_List ¶
HashFactory_newSha1_Params_List is a list of HashFactory_newSha1_Params.
func NewHashFactory_newSha1_Params_List ¶
func NewHashFactory_newSha1_Params_List(s *capnp.Segment, sz int32) (HashFactory_newSha1_Params_List, error)
NewHashFactory_newSha1_Params creates a new list of HashFactory_newSha1_Params.
func (HashFactory_newSha1_Params_List) At ¶
func (s HashFactory_newSha1_Params_List) At(i int) HashFactory_newSha1_Params
func (HashFactory_newSha1_Params_List) Set ¶
func (s HashFactory_newSha1_Params_List) Set(i int, v HashFactory_newSha1_Params) error
type HashFactory_newSha1_Params_Promise ¶
HashFactory_newSha1_Params_Promise is a wrapper for a HashFactory_newSha1_Params promised by a client call.
func (HashFactory_newSha1_Params_Promise) Struct ¶
func (p HashFactory_newSha1_Params_Promise) Struct() (HashFactory_newSha1_Params, error)
type HashFactory_newSha1_Results ¶
func NewHashFactory_newSha1_Results ¶
func NewHashFactory_newSha1_Results(s *capnp.Segment) (HashFactory_newSha1_Results, error)
func NewRootHashFactory_newSha1_Results ¶
func NewRootHashFactory_newSha1_Results(s *capnp.Segment) (HashFactory_newSha1_Results, error)
func ReadRootHashFactory_newSha1_Results ¶
func ReadRootHashFactory_newSha1_Results(msg *capnp.Message) (HashFactory_newSha1_Results, error)
func (HashFactory_newSha1_Results) HasHash ¶
func (s HashFactory_newSha1_Results) HasHash() bool
func (HashFactory_newSha1_Results) Hash ¶
func (s HashFactory_newSha1_Results) Hash() Hash
func (HashFactory_newSha1_Results) SetHash ¶
func (s HashFactory_newSha1_Results) SetHash(v Hash) error
func (HashFactory_newSha1_Results) String ¶
func (s HashFactory_newSha1_Results) String() string
type HashFactory_newSha1_Results_List ¶
HashFactory_newSha1_Results_List is a list of HashFactory_newSha1_Results.
func NewHashFactory_newSha1_Results_List ¶
func NewHashFactory_newSha1_Results_List(s *capnp.Segment, sz int32) (HashFactory_newSha1_Results_List, error)
NewHashFactory_newSha1_Results creates a new list of HashFactory_newSha1_Results.
func (HashFactory_newSha1_Results_List) At ¶
func (s HashFactory_newSha1_Results_List) At(i int) HashFactory_newSha1_Results
func (HashFactory_newSha1_Results_List) Set ¶
func (s HashFactory_newSha1_Results_List) Set(i int, v HashFactory_newSha1_Results) error
type HashFactory_newSha1_Results_Promise ¶
HashFactory_newSha1_Results_Promise is a wrapper for a HashFactory_newSha1_Results promised by a client call.
func (HashFactory_newSha1_Results_Promise) Hash ¶
func (p HashFactory_newSha1_Results_Promise) Hash() Hash
func (HashFactory_newSha1_Results_Promise) Struct ¶
func (p HashFactory_newSha1_Results_Promise) Struct() (HashFactory_newSha1_Results, error)
type Hash_Server ¶
type Hash_Server interface { Write(Hash_write) error Sum(Hash_sum) error }
type Hash_sum ¶
type Hash_sum struct { Ctx context.Context Options capnp.CallOptions Params Hash_sum_Params Results Hash_sum_Results }
Hash_sum holds the arguments for a server call to Hash.sum.
type Hash_sum_Params ¶
func NewHash_sum_Params ¶
func NewHash_sum_Params(s *capnp.Segment) (Hash_sum_Params, error)
func NewRootHash_sum_Params ¶
func NewRootHash_sum_Params(s *capnp.Segment) (Hash_sum_Params, error)
func ReadRootHash_sum_Params ¶
func ReadRootHash_sum_Params(msg *capnp.Message) (Hash_sum_Params, error)
func (Hash_sum_Params) String ¶
func (s Hash_sum_Params) String() string
type Hash_sum_Params_List ¶
Hash_sum_Params_List is a list of Hash_sum_Params.
func NewHash_sum_Params_List ¶
func NewHash_sum_Params_List(s *capnp.Segment, sz int32) (Hash_sum_Params_List, error)
NewHash_sum_Params creates a new list of Hash_sum_Params.
func (Hash_sum_Params_List) At ¶
func (s Hash_sum_Params_List) At(i int) Hash_sum_Params
func (Hash_sum_Params_List) Set ¶
func (s Hash_sum_Params_List) Set(i int, v Hash_sum_Params) error
type Hash_sum_Params_Promise ¶
Hash_sum_Params_Promise is a wrapper for a Hash_sum_Params promised by a client call.
func (Hash_sum_Params_Promise) Struct ¶
func (p Hash_sum_Params_Promise) Struct() (Hash_sum_Params, error)
type Hash_sum_Results ¶
func NewHash_sum_Results ¶
func NewHash_sum_Results(s *capnp.Segment) (Hash_sum_Results, error)
func NewRootHash_sum_Results ¶
func NewRootHash_sum_Results(s *capnp.Segment) (Hash_sum_Results, error)
func ReadRootHash_sum_Results ¶
func ReadRootHash_sum_Results(msg *capnp.Message) (Hash_sum_Results, error)
func (Hash_sum_Results) HasHash ¶
func (s Hash_sum_Results) HasHash() bool
func (Hash_sum_Results) Hash ¶
func (s Hash_sum_Results) Hash() ([]byte, error)
func (Hash_sum_Results) SetHash ¶
func (s Hash_sum_Results) SetHash(v []byte) error
func (Hash_sum_Results) String ¶
func (s Hash_sum_Results) String() string
type Hash_sum_Results_List ¶
Hash_sum_Results_List is a list of Hash_sum_Results.
func NewHash_sum_Results_List ¶
func NewHash_sum_Results_List(s *capnp.Segment, sz int32) (Hash_sum_Results_List, error)
NewHash_sum_Results creates a new list of Hash_sum_Results.
func (Hash_sum_Results_List) At ¶
func (s Hash_sum_Results_List) At(i int) Hash_sum_Results
func (Hash_sum_Results_List) Set ¶
func (s Hash_sum_Results_List) Set(i int, v Hash_sum_Results) error
type Hash_sum_Results_Promise ¶
Hash_sum_Results_Promise is a wrapper for a Hash_sum_Results promised by a client call.
func (Hash_sum_Results_Promise) Struct ¶
func (p Hash_sum_Results_Promise) Struct() (Hash_sum_Results, error)
type Hash_write ¶
type Hash_write struct { Ctx context.Context Options capnp.CallOptions Params Hash_write_Params Results Hash_write_Results }
Hash_write holds the arguments for a server call to Hash.write.
type Hash_write_Params ¶
func NewHash_write_Params ¶
func NewHash_write_Params(s *capnp.Segment) (Hash_write_Params, error)
func NewRootHash_write_Params ¶
func NewRootHash_write_Params(s *capnp.Segment) (Hash_write_Params, error)
func ReadRootHash_write_Params ¶
func ReadRootHash_write_Params(msg *capnp.Message) (Hash_write_Params, error)
func (Hash_write_Params) Data ¶
func (s Hash_write_Params) Data() ([]byte, error)
func (Hash_write_Params) HasData ¶
func (s Hash_write_Params) HasData() bool
func (Hash_write_Params) SetData ¶
func (s Hash_write_Params) SetData(v []byte) error
func (Hash_write_Params) String ¶
func (s Hash_write_Params) String() string
type Hash_write_Params_List ¶
Hash_write_Params_List is a list of Hash_write_Params.
func NewHash_write_Params_List ¶
func NewHash_write_Params_List(s *capnp.Segment, sz int32) (Hash_write_Params_List, error)
NewHash_write_Params creates a new list of Hash_write_Params.
func (Hash_write_Params_List) At ¶
func (s Hash_write_Params_List) At(i int) Hash_write_Params
func (Hash_write_Params_List) Set ¶
func (s Hash_write_Params_List) Set(i int, v Hash_write_Params) error
type Hash_write_Params_Promise ¶
Hash_write_Params_Promise is a wrapper for a Hash_write_Params promised by a client call.
func (Hash_write_Params_Promise) Struct ¶
func (p Hash_write_Params_Promise) Struct() (Hash_write_Params, error)
type Hash_write_Results ¶
func NewHash_write_Results ¶
func NewHash_write_Results(s *capnp.Segment) (Hash_write_Results, error)
func NewRootHash_write_Results ¶
func NewRootHash_write_Results(s *capnp.Segment) (Hash_write_Results, error)
func ReadRootHash_write_Results ¶
func ReadRootHash_write_Results(msg *capnp.Message) (Hash_write_Results, error)
func (Hash_write_Results) String ¶
func (s Hash_write_Results) String() string
type Hash_write_Results_List ¶
Hash_write_Results_List is a list of Hash_write_Results.
func NewHash_write_Results_List ¶
func NewHash_write_Results_List(s *capnp.Segment, sz int32) (Hash_write_Results_List, error)
NewHash_write_Results creates a new list of Hash_write_Results.
func (Hash_write_Results_List) At ¶
func (s Hash_write_Results_List) At(i int) Hash_write_Results
func (Hash_write_Results_List) Set ¶
func (s Hash_write_Results_List) Set(i int, v Hash_write_Results) error
type Hash_write_Results_Promise ¶
Hash_write_Results_Promise is a wrapper for a Hash_write_Results promised by a client call.
func (Hash_write_Results_Promise) Struct ¶
func (p Hash_write_Results_Promise) Struct() (Hash_write_Results, error)