hashes

package
v2.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const HashFactory_TypeID = 0xaead580f97fddabc

HashFactory_TypeID is the unique identifier for the type HashFactory.

View Source
const HashFactory_newSha1_Params_TypeID = 0x92b20ad1a58ca0ca

HashFactory_newSha1_Params_TypeID is the unique identifier for the type HashFactory_newSha1_Params.

View Source
const HashFactory_newSha1_Results_TypeID = 0xea3e50f7663f7bdf

HashFactory_newSha1_Results_TypeID is the unique identifier for the type HashFactory_newSha1_Results.

View Source
const Hash_TypeID = 0xf29f97dd675a9431

Hash_TypeID is the unique identifier for the type Hash.

View Source
const Hash_sum_Params_TypeID = 0xe74bb2d0190cf89c

Hash_sum_Params_TypeID is the unique identifier for the type Hash_sum_Params.

View Source
const Hash_sum_Results_TypeID = 0xd093963b95a4e107

Hash_sum_Results_TypeID is the unique identifier for the type Hash_sum_Results.

View Source
const Hash_write_Params_TypeID = 0xdffe94ae546cdee3

Hash_write_Params_TypeID is the unique identifier for the type Hash_write_Params.

View Source
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

type Hash struct{ Client capnp.Client }

func Hash_ServerToClient

func Hash_ServerToClient(s Hash_Server) Hash

func (Hash) Sum

func (Hash) Write

type HashFactory

type HashFactory struct{ Client capnp.Client }

func HashFactory_ServerToClient

func HashFactory_ServerToClient(s HashFactory_Server) HashFactory

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

type HashFactory_newSha1_Params struct{ capnp.Struct }

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

type HashFactory_newSha1_Params_List

type HashFactory_newSha1_Params_List struct{ capnp.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 (HashFactory_newSha1_Params_List) Set

func (HashFactory_newSha1_Params_List) String

type HashFactory_newSha1_Params_Promise

type HashFactory_newSha1_Params_Promise struct{ *capnp.Pipeline }

HashFactory_newSha1_Params_Promise is a wrapper for a HashFactory_newSha1_Params promised by a client call.

func (HashFactory_newSha1_Params_Promise) Struct

type HashFactory_newSha1_Results

type HashFactory_newSha1_Results struct{ capnp.Struct }

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 (HashFactory_newSha1_Results) SetHash

func (s HashFactory_newSha1_Results) SetHash(v Hash) error

func (HashFactory_newSha1_Results) String

type HashFactory_newSha1_Results_List

type HashFactory_newSha1_Results_List struct{ capnp.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 (HashFactory_newSha1_Results_List) Set

func (HashFactory_newSha1_Results_List) String

type HashFactory_newSha1_Results_Promise

type HashFactory_newSha1_Results_Promise struct{ *capnp.Pipeline }

HashFactory_newSha1_Results_Promise is a wrapper for a HashFactory_newSha1_Results promised by a client call.

func (HashFactory_newSha1_Results_Promise) Hash

func (HashFactory_newSha1_Results_Promise) Struct

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

type Hash_sum_Params struct{ capnp.Struct }

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

type Hash_sum_Params_List struct{ capnp.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 (Hash_sum_Params_List) Set

func (Hash_sum_Params_List) String

func (s Hash_sum_Params_List) String() string

type Hash_sum_Params_Promise

type Hash_sum_Params_Promise struct{ *capnp.Pipeline }

Hash_sum_Params_Promise is a wrapper for a Hash_sum_Params promised by a client call.

func (Hash_sum_Params_Promise) Struct

type Hash_sum_Results

type Hash_sum_Results struct{ capnp.Struct }

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

type Hash_sum_Results_List struct{ capnp.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 (Hash_sum_Results_List) Set

func (Hash_sum_Results_List) String

func (s Hash_sum_Results_List) String() string

type Hash_sum_Results_Promise

type Hash_sum_Results_Promise struct{ *capnp.Pipeline }

Hash_sum_Results_Promise is a wrapper for a Hash_sum_Results promised by a client call.

func (Hash_sum_Results_Promise) Struct

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

type Hash_write_Params struct{ capnp.Struct }

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

type Hash_write_Params_List struct{ capnp.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 (Hash_write_Params_List) Set

func (Hash_write_Params_List) String

func (s Hash_write_Params_List) String() string

type Hash_write_Params_Promise

type Hash_write_Params_Promise struct{ *capnp.Pipeline }

Hash_write_Params_Promise is a wrapper for a Hash_write_Params promised by a client call.

func (Hash_write_Params_Promise) Struct

type Hash_write_Results

type Hash_write_Results struct{ capnp.Struct }

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

type Hash_write_Results_List struct{ capnp.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 (Hash_write_Results_List) Set

func (Hash_write_Results_List) String

func (s Hash_write_Results_List) String() string

type Hash_write_Results_Promise

type Hash_write_Results_Promise struct{ *capnp.Pipeline }

Hash_write_Results_Promise is a wrapper for a Hash_write_Results promised by a client call.

func (Hash_write_Results_Promise) Struct

Jump to

Keyboard shortcuts

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