b24

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewB24Connector

func NewB24Connector(cfg *Config) connect.Connecter

NewB24Connector connector

Types

type Config

type Config struct {
	IsInvalidSSL bool   `yaml:"ignore_invalid_ssl"`
	Addr         string `yaml:"webhook_endpoint_addr"`
	URL          string `yaml:"webhook_url"`
	Token        string `yaml:"webhook_originate_token"`
	RecUp        string `yaml:"rec_upload"`
	HasFindForm  bool
	FindForm     []struct {
		R    *regexp.Regexp
		Expr string
		Repl string
	} `yaml:"search_format"`
	DefUID int `yaml:"default_user"`
}

Config struct

Jump to

Keyboard shortcuts

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