web

package
v0.0.0-...-b22f1a0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func NewAPI

func NewAPI() (*API, func())

func (*API) GetPost

func (a *API) GetPost(slug string) (model.Post, error)

func (*API) NewMessage

func (a *API) NewMessage(title, content string) (string, error)

NewMessage returns the generated UID and error

Jump to

Keyboard shortcuts

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