book

package
v0.0.0-...-e45f7d2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookChatDef

type BookChatDef struct {
	r.ComponentDef
}

BookChatDef defines the BookChat component

func (BookChatDef) GetInitialStateIntf

func (b BookChatDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (BookChatDef) Props

func (b BookChatDef) Props() BookChatProps

Props is an auto-generated proxy to the current props of BookChat

func (BookChatDef) Render

func (g BookChatDef) Render() r.Element

Render renders the BookChat component

func (BookChatDef) RendersElement

func (b BookChatDef) RendersElement() react.Element

func (BookChatDef) SetState

func (b BookChatDef) SetState(state BookChatState)

SetState is an auto-generated proxy proxy to update the state for the BookChat component. SetState does not immediately mutate b.State() but creates a pending state transition.

func (BookChatDef) State

func (b BookChatDef) State() BookChatState

State is an auto-generated proxy to return the current state in use for the render of the BookChat component

type BookChatElem

type BookChatElem struct {
	react.Element
}

func BookChat

func BookChat(p BookChatProps) *BookChatElem

BookChat returns a new BookChatElem

type BookChatProps

type BookChatProps struct {
	Client library.BookServiceClient
}

BookChatProps defines the properties of this component

func (BookChatProps) EqualsIntf

func (b BookChatProps) EqualsIntf(val react.Props) bool

func (BookChatProps) IsProps

func (b BookChatProps) IsProps()

IsProps is an auto-generated definition so that BookChatProps implements the myitcv.io/react.Props interface.

type BookChatState

type BookChatState struct {
	// contains filtered or unexported fields
}

BookChatState holds the state for the BookChat component

func (BookChatState) EqualsIntf

func (b BookChatState) EqualsIntf(val react.State) bool

func (BookChatState) IsState

func (b BookChatState) IsState()

IsState is an auto-generated definition so that BookChatState implements the myitcv.io/react.State interface.

type GetBookDef

type GetBookDef struct {
	r.ComponentDef
}

GetBookDef defines the getbook component

func (GetBookDef) GetInitialStateIntf

func (g GetBookDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (GetBookDef) Props

func (g GetBookDef) Props() GetBookProps

Props is an auto-generated proxy to the current props of GetBook

func (GetBookDef) Render

func (g GetBookDef) Render() r.Element

Render renders the GetBook component

func (GetBookDef) RendersElement

func (g GetBookDef) RendersElement() react.Element

func (GetBookDef) SetState

func (g GetBookDef) SetState(state GetBookState)

SetState is an auto-generated proxy proxy to update the state for the GetBook component. SetState does not immediately mutate g.State() but creates a pending state transition.

func (GetBookDef) State

func (g GetBookDef) State() GetBookState

State is an auto-generated proxy to return the current state in use for the render of the GetBook component

type GetBookElem

type GetBookElem struct {
	react.Element
}

func GetBook

func GetBook(p GetBookProps) *GetBookElem

GetBook returns a new GetBookElem

type GetBookProps

type GetBookProps struct {
	Client library.BookServiceClient
}

GetBookProps defines the properties of this component

func (GetBookProps) EqualsIntf

func (g GetBookProps) EqualsIntf(val react.Props) bool

func (GetBookProps) IsProps

func (g GetBookProps) IsProps()

IsProps is an auto-generated definition so that GetBookProps implements the myitcv.io/react.Props interface.

type GetBookState

type GetBookState struct {
	// contains filtered or unexported fields
}

GetBookState holds the state for the GetBook component

func (GetBookState) EqualsIntf

func (g GetBookState) EqualsIntf(val react.State) bool

func (GetBookState) IsState

func (g GetBookState) IsState()

IsState is an auto-generated definition so that GetBookState implements the myitcv.io/react.State interface.

type MakeCollectionDef

type MakeCollectionDef struct {
	r.ComponentDef
}

MakeCollectionDef defines the MakeCollection component

func (MakeCollectionDef) GetInitialStateIntf

func (m MakeCollectionDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (MakeCollectionDef) Props

Props is an auto-generated proxy to the current props of MakeCollection

func (MakeCollectionDef) Render

func (g MakeCollectionDef) Render() r.Element

Render renders the MakeCollection component

func (MakeCollectionDef) RendersElement

func (m MakeCollectionDef) RendersElement() react.Element

func (MakeCollectionDef) SetState

func (m MakeCollectionDef) SetState(state MakeCollectionState)

SetState is an auto-generated proxy proxy to update the state for the MakeCollection component. SetState does not immediately mutate m.State() but creates a pending state transition.

func (MakeCollectionDef) State

State is an auto-generated proxy to return the current state in use for the render of the MakeCollection component

type MakeCollectionElem

type MakeCollectionElem struct {
	react.Element
}

func MakeCollection

func MakeCollection(p MakeCollectionProps) *MakeCollectionElem

MakeCollection returns a new MakeCollectionElem

type MakeCollectionProps

type MakeCollectionProps struct {
	Client library.BookServiceClient
}

MakeCollectionProps defines the properties of this component

func (MakeCollectionProps) EqualsIntf

func (m MakeCollectionProps) EqualsIntf(val react.Props) bool

func (MakeCollectionProps) IsProps

func (m MakeCollectionProps) IsProps()

IsProps is an auto-generated definition so that MakeCollectionProps implements the myitcv.io/react.Props interface.

type MakeCollectionState

type MakeCollectionState struct {
	// contains filtered or unexported fields
}

MakeCollectionState holds the state for the MakeCollection component

func (MakeCollectionState) EqualsIntf

func (m MakeCollectionState) EqualsIntf(val react.State) bool

func (MakeCollectionState) IsState

func (m MakeCollectionState) IsState()

IsState is an auto-generated definition so that MakeCollectionState implements the myitcv.io/react.State interface.

type Messages

type Messages struct {
	// contains filtered or unexported fields
}

_Imm_Messages is generated to an immutable type *books which we use in the state

Messages is an immutable type and has the following template:

[]string

func NewMessages

func NewMessages(s ...string) *Messages

func NewMessagesLen

func NewMessagesLen(l int) *Messages

func (*Messages) Append

func (m *Messages) Append(v ...string) *Messages

func (*Messages) AsImmutable

func (m *Messages) AsImmutable(v *Messages) *Messages

func (*Messages) AsMutable

func (m *Messages) AsMutable() *Messages

func (*Messages) Get

func (m *Messages) Get(i int) string

func (*Messages) IsDeeplyNonMutable

func (s *Messages) IsDeeplyNonMutable(seen map[interface{}]bool) bool

func (*Messages) Len

func (m *Messages) Len() int

func (*Messages) Mutable

func (m *Messages) Mutable() bool

func (*Messages) Range

func (m *Messages) Range() []string

func (*Messages) Set

func (m *Messages) Set(i int, v string) *Messages

func (*Messages) WithImmutable

func (m *Messages) WithImmutable(f func(mi *Messages)) *Messages

func (*Messages) WithMutable

func (m *Messages) WithMutable(f func(mi *Messages)) *Messages

type QueryBooksDef

type QueryBooksDef struct {
	r.ComponentDef
}

QueryBooksDef defines the QueryBooks component

func (*QueryBooksDef) GetInitialState

func (q *QueryBooksDef) GetInitialState() QueryBooksState

GetInitialState ensures QueryBooksState is initialized with a valid books value.

func (QueryBooksDef) GetInitialStateIntf

func (q QueryBooksDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (QueryBooksDef) Props

func (q QueryBooksDef) Props() QueryBooksProps

Props is an auto-generated proxy to the current props of QueryBooks

func (QueryBooksDef) Render

func (q QueryBooksDef) Render() r.Element

Render renders the QueryBooks component.

func (QueryBooksDef) RendersElement

func (q QueryBooksDef) RendersElement() react.Element

func (QueryBooksDef) SetState

func (q QueryBooksDef) SetState(state QueryBooksState)

SetState is an auto-generated proxy proxy to update the state for the QueryBooks component. SetState does not immediately mutate q.State() but creates a pending state transition.

func (QueryBooksDef) State

func (q QueryBooksDef) State() QueryBooksState

State is an auto-generated proxy to return the current state in use for the render of the QueryBooks component

type QueryBooksElem

type QueryBooksElem struct {
	react.Element
}

func QueryBooks

func QueryBooks(p QueryBooksProps) *QueryBooksElem

QueryBooks returns the QueryBooks component.

type QueryBooksProps

type QueryBooksProps struct {
	Client library.BookServiceClient
}

QueryBooksProps defines the properties of this component

func (QueryBooksProps) EqualsIntf

func (q QueryBooksProps) EqualsIntf(val react.Props) bool

func (QueryBooksProps) IsProps

func (q QueryBooksProps) IsProps()

IsProps is an auto-generated definition so that QueryBooksProps implements the myitcv.io/react.Props interface.

type QueryBooksState

type QueryBooksState struct {
	// contains filtered or unexported fields
}

QueryBooksState holds the state for the QueryBooks component

func (QueryBooksState) EqualsIntf

func (q QueryBooksState) EqualsIntf(val react.State) bool

func (QueryBooksState) IsState

func (q QueryBooksState) IsState()

IsState is an auto-generated definition so that QueryBooksState implements the myitcv.io/react.State interface.

Jump to

Keyboard shortcuts

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