MCPcopy Create free account

hub / github.com/canopyclimate/golive / types & classes

Types & classes179 in github.com/canopyclimate/golive

↓ 16 callersTypeAliasPos
Pos represents a byte position in the original input text from which this template was parsed.
internal/text/template/parse/node.go:41
↓ 2 callersStructJS
JS provides a way to precompose simple client-side DOM changes that don't require a round-trip to the server. Create a JS struct, call its methods to
live/js.go:19
↓ 1 callersTypeAliasErrorWriter
htmltmpl/exec_test.go:1324
↓ 1 callersTypeAliasErrorWriter
internal/text/template/exec_test.go:1356
↓ 1 callersTypeAliasFuncMap
FuncMap is the type of the map defining the mapping from names to functions. Each function must have either a single return value, or two return value
internal/text/template/funcs.go:33
↓ 1 callersInterfaceI
A non-empty interface.
htmltmpl/exec_test.go:181
↓ 1 callersInterfaceI
A non-empty interface.
internal/text/template/exec_test.go:177
↓ 1 callersTypeAliasIssue7379
htmltmpl/escape_test.go:1932
↓ 1 callersTypeAliasattr
go:generate stringer -type attr attr identifies the current HTML attribute when inside the attribute, that is, starting from stateAttrName until state
htmltmpl/context.go:272
↓ 1 callersTypeAliasdelim
delim is the delimiter that will end the current HTML attribute.
htmltmpl/context.go:193
↓ 1 callersTypeAliaselement
element identifies the HTML element when inside a start tag or special body. Certain HTML element (for example <script> and <style>) have bodies that
htmltmpl/context.go:250
↓ 1 callersTypeAliasjsCtx
jsCtx determines whether a '/' starts a regular expression literal or a division operator.
htmltmpl/context.go:232
↓ 1 callersStructstate
state represents the state of an execution. It's not part of the template so that multiple executions of the same template can execute in parallel.
internal/text/template/exec.go:37
↓ 1 callersTypeAliasstate
state describes a high-level HTML parser state. It bounds the top of the element stack, and by extension the HTML insertion mode, but also contains s
htmltmpl/context.go:87
↓ 1 callersTypeAliasurlPart
urlPart identifies a part in an RFC 3986 hierarchical URL to allow different encoding strategies.
htmltmpl/context.go:211
Class
public/js/index.js:347
Class
public/js/index.js:347
StructA
internal/text/template/exec_test.go:1803
StructActionNode
ActionNode holds an action (something bounded by delimiters). Control actions have their own nodes; ActionNode represents simple ones such as field ev
internal/text/template/parse/node.go:258
InterfaceAny
Any represents any Changeset. It is useful for working with arbitrary changesets outside of generics.
changeset/changeset.go:31
StructB
internal/text/template/exec_test.go:1806
StructBoolNode
BoolNode holds a boolean constant.
internal/text/template/parse/node.go:611
StructBranchNode
BranchNode is the common representation of if, range, and with.
internal/text/template/parse/node.go:870
StructBreakNode
BreakNode represents a {{break}} action.
internal/text/template/parse/node.go:942
StructChainNode
ChainNode holds a term followed by a chain of field accesses (identifier starting with '.'). The names may be chained ('.x.y'). The periods are droppe
internal/text/template/parse/node.go:558
StructChangeset
Changeset provides a powerful API for decoding URL values into a struct and validating the struct. It provides a way to check if a given struct is val
changeset/changeset.go:43
StructCommandNode
CommandNode holds a command (a pipeline inside an evaluating action).
internal/text/template/parse/node.go:292
StructCommentNode
CommentNode holds a comment.
internal/text/template/parse/node.go:157
StructConfig
Config is the configuration for a live application.
live/liveview.go:25
StructConfig
Config is a configuration for a Changeset providing implementations of Validator and Decoder.
changeset/changeset.go:24
StructConsumeUploadedEntriesMeta
live/uploads.go:192
StructContinueNode
ContinueNode represents a {{continue}} action.
internal/text/template/parse/node.go:959
StructCounter
Counter is a live.View that has a counter, a basic form, and a ticker. TODO split this into different views instead of the amalgamation it is now.
examples/main.go:164
StructCustomError
internal/text/template/exec_test.go:923
InterfaceDecoder
Decoder decodes a url.Values into a struct.
changeset/changeset.go:18
StructDiff
live/internal/phx/reply.go:26
StructDotNode
DotNode holds the special identifier '.'.
internal/text/template/parse/node.go:453
StructErrView
View that throws errors
examples/main.go:513
StructError
Error describes a problem encountered during template Escaping.
htmltmpl/error.go:14
StructError
live/internal/phx/reply.go:51
TypeAliasErrorCode
ErrorCode is a code for a kind of error.
htmltmpl/error.go:29
StructEvent
Event is the event data sent from the client
live/liveview.go:803
InterfaceEventHandler
EventHandler is an interface that can be implemented by a View to be notified when user events are received from the client.
live/liveview.go:199
StructExecError
TODO: It would be nice if ExecError was more broken down, but the way ErrorContext embeds the template name makes the processing too clumsy. ExecError
internal/text/template/exec.go:137
StructFieldNode
FieldNode holds a field (identifier starting with '.'). The names may be chained ('.x.y'). The period is dropped from each ident.
internal/text/template/parse/node.go:523
StructFormWithBool
changeset/changeset_test.go:227
StructGoPlaygroundChangesetConfig
GoPlaygroundChangesetConfig provides a GoPlayground Validate and Decoder based implementation of the Validator and Decoder interfaces.
changeset/goplayground.go:19
StructHTTPHandler
HTTPHandler handles HTTP requests for a View
live/liveview.go:835
StructHeartbeat
live/internal/phx/reply.go:57
StructHideOpts
live/js.go:118
StructIdentifierNode
IdentifierNode holds an identifier.
internal/text/template/parse/node.go:344
StructIfNode
IfNode represents an {{if}} action and its commands.
internal/text/template/parse/node.go:929
TypeAliasInfo
Info is internal event data from the server
live/liveview.go:827
InterfaceInfoHandler
InfoHandler is an interface that can be implemented by a View to be notified when info (i.e. "internal") messages are received from the server.
live/liveview.go:205
StructLayoutDot
LayoutDot is the information available when initially writing our your container layout. It should be passed into the liveViewContainerTag funcmap fun
live/liveview.go:942
StructListNode
Nodes. ListNode holds a sequence of nodes.
internal/text/template/parse/node.go:82
TypeAliasLiveNavType
live/liveview.go:858
StructMeta
Meta is the metadata passed to a View's Render method as well as added to the template context via the .Meta field.
live/liveview.go:163
StructModalDemo
examples/main.go:479
TypeAliasMode
A mode value is a set of flags (or 0). Modes control parser behavior.
internal/text/template/parse/parse.go:38
StructMoreEvents
Example with keyup, keydown, blur, focus
examples/main.go:314
InterfaceMounter
Mounter is an interface that can be implemented by a View to be notified when it is mounted.
live/liveview.go:187
StructMsg
live/internal/phx/phx.go:8
StructMyPhotos
examples/main.go:396
StructNav
live/internal/phx/reply.go:43
StructNav
examples/main.go:275
StructNavPayload
live/internal/phx/reply.go:38
StructNilNode
NilNode holds the special identifier 'nil' representing an untyped nil constant.
internal/text/template/parse/node.go:487
InterfaceNode
Changed to "%q" in tests for better error messages. A Node is an element in the parse tree. The interface is trivial. The interface contains an unexpo
internal/text/template/parse/node.go:21
TypeAliasNodeType
NodeType identifies the type of a parse tree node.
internal/text/template/parse/node.go:37
StructNumberNode
NumberNode holds a number: signed or unsigned integer, float, or complex. The value is parsed and stored under all the types that can represent the va
internal/text/template/parse/node.go:644
StructPageTitleConfig
PageTitleConfig structures the contents of a page’s title tag. It’s available in WriteLayout for your own use, and subsequent PageTitle() calls will u
live/liveview.go:934
InterfacePageTitleConfigurer
PageTitleConfgurer is an interface that can be implemented by a View to configure the liveTitleTag template function.
live/liveview.go:211
StructParams
Params is the data passed to a View's Mount method.
live/liveview.go:170
InterfaceParamsHandler
ParamsHandler is an interface that can be implemented by a View to be notified when the URL parameters change (and after a view is first mounted).
live/liveview.go:193
StructPayload
live/internal/phx/reply.go:13
StructPerson
Person is the struct that we will validate using form input and changesets
examples/main.go:157
StructPerson
changeset/changeset_test.go:8
StructPhoto
examples/main.go:386
StructPhotosForm
examples/main.go:392
StructPing
Example of server push events
examples/main.go:364
StructPipeNode
PipeNode holds a pipeline with optional declaration
internal/text/template/parse/node.go:189
StructPushOpts
live/js.go:228
StructRangeNode
RangeNode represents a {{range}} action and its commands.
internal/text/template/parse/node.go:976
StructRecipient
Prepare some data to insert into the template.
internal/text/template/example_test.go:31
StructRedirect
live/internal/phx/reply.go:34
StructReply
live/internal/phx/reply.go:18
StructResponse
live/internal/phx/reply.go:5
TypeAliasS
htmltmpl/exec_test.go:94
TypeAliasS
internal/text/template/exec_test.go:90
StructSetting
A Setting is a single setting in the $GODEBUG environment variable.
internal/godebug/godebug.go:4
StructShowOpts
live/js.go:148
StructSortedMap
Note: Throughout this package we avoid calling reflect.Value.Interface as it is not always legal to do so and it's easier to avoid the issue than to f
internal/fmtsort/sort.go:21
StructStringNode
StringNode holds a string constant. The value has been "unquoted".
internal/text/template/parse/node.go:781
StructT
T has lots of interesting pieces to use to test execution.
htmltmpl/exec_test.go:26
StructT
T has lots of interesting pieces to use to test execution.
internal/text/template/exec_test.go:22
StructTemplate
Template is a specialized Template from "text/template" that produces a safe HTML document fragment.
htmltmpl/template.go:22
StructTemplate
Template is the representation of a parsed template. The *parse.Tree field is exported only for use by html/template and should be treated as unexport
internal/text/template/template.go:30
StructTemplateNode
TemplateNode represents a {{template}} action.
internal/text/template/parse/node.go:1002
StructTestCase
changeset/changeset_test.go:22
next →1–100 of 179, ranked by callers