Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 source pure

Pacakge web25 provides an opinionated way to register an external web2 frontend to provide a "better" web2.5 experience.

Readme View source

gno.land/p/moul/web25/v0

TODO: describe this package.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/p/moul/web25/v0 dependency graph

⚠️ Disclaimer: provided as-is, without warranty; not security-audited. Full disclaimer: DISCLAIMER.

Overview

Pacakge web25 provides an opinionated way to register an external web2 frontend to provide a "better" web2.5 experience.

Constants 1

const DefaultText

1const DefaultText = "Click [here]({link}) to visit the full rendering experience.\n"
source

Types 1

type Config

struct
1type Config struct {
2	CID  string
3	URL  string
4	Text string
5}
source

Methods on Config

func Render

method on Config
1func (c Config) Render(path string) string
source

Render displays a frontend link at the top of your realm's Render function in a concistent way to help gno visitors to have a consistent experience.

if query is not nil, then it will check if it's not disable by ?no-web25, so that you can call the render function from an external point of view.

Imports 2

Source Files 3