update

package
v0.5.20 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CB

type CB func(GOOS, GOARCH string) (sig []byte, data []byte, ok bool)

type UpdateChannel

type UpdateChannel struct {
	channel.NoSave
	channel.Limit
	channel.NoRunClose
	// contains filtered or unexported fields
}

func New

func New(cb CB) *UpdateChannel

func (*UpdateChannel) HandleBIN

func (c *UpdateChannel) HandleBIN(cl channel.Client, r channel.BinaryReader) error

func (*UpdateChannel) HandleJSON

func (c *UpdateChannel) HandleJSON(cl channel.Client, r io.Reader) (io.Reader, error)

func (*UpdateChannel) Register

func (c *UpdateChannel) Register(chnl string, s channel.Sender) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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