fake

package
v0.0.0-...-c36b137 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResetLastMessage

func ResetLastMessage()

Types

type Client

type Client struct {
	*Config
}

func NewClient

func NewClient(options map[string]interface{}) (*Client, error)

func (*Client) SendMessage

func (c *Client) SendMessage(title, message string) error

type Config

type Config struct {
	CreateError      string `mapstructure:"create_error"`
	SendMessageError string `mapstructure:"send_message_error"`
}

type Message

type Message struct {
	Title   string
	Message string
}

func LastMessage

func LastMessage() Message

func Messages

func Messages() []Message

Jump to

Keyboard shortcuts

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