Search Apps Documentation Source Content File Folder Download Copy Actions Download

storage package

Functions

AddPost

func AddPost(title, content string)

post to all boards.

Params

Command

gnokey query vm/qeval -remote "https://api.gno.berty.io:443" -data "gno.land/r/tests/vm/benchmark/storage.AddPost(,)"

Result

GetBoardSize

func GetBoardSize() int

Command

gnokey query vm/qeval -remote "https://api.gno.berty.io:443" -data "gno.land/r/tests/vm/benchmark/storage.GetBoardSize()"

Result

GetPost

func GetPost(boardId, postId int) string

Params

Command

gnokey query vm/qeval -remote "https://api.gno.berty.io:443" -data "gno.land/r/tests/vm/benchmark/storage.GetPost(,)"

Result

GetPostSize

func GetPostSize(boardId int) int

Param

Command

gnokey query vm/qeval -remote "https://api.gno.berty.io:443" -data "gno.land/r/tests/vm/benchmark/storage.GetPostSize()"

Result