books

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct{ capnp.Struct }

func NewBook

func NewBook(s *capnp.Segment) (Book, error)

func NewRootBook

func NewRootBook(s *capnp.Segment) (Book, error)

func ReadRootBook

func ReadRootBook(msg *capnp.Message) (Book, error)

func (Book) PageCount

func (s Book) PageCount() int32

func (Book) SetPageCount

func (s Book) SetPageCount(v int32)

func (Book) SetTitle

func (s Book) SetTitle(v string) error

func (Book) Title

func (s Book) Title() (string, error)

func (Book) TitleBytes

func (s Book) TitleBytes() ([]byte, error)

type Book_List

type Book_List struct{ capnp.List }

Book_List is a list of Book.

func NewBook_List

func NewBook_List(s *capnp.Segment, sz int32) (Book_List, error)

NewBook creates a new list of Book.

func (Book_List) At

func (s Book_List) At(i int) Book

func (Book_List) Set

func (s Book_List) Set(i int, v Book) error

type Book_Promise

type Book_Promise struct{ *capnp.Pipeline }

Book_Promise is a wrapper for a Book promised by a client call.

func (Book_Promise) Struct

func (p Book_Promise) Struct() (Book, error)

Jump to

Keyboard shortcuts

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