books

package
v2.18.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Book_TypeID = 0x8100cc88d7d4d47c

Book_TypeID is the unique identifier for the type Book.

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) HasTitle

func (s Book) HasTitle() bool

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) String

func (s Book) String() string

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

func (Book_List) String

func (s Book_List) String() string

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