rpc

package
v0.0.0-...-d36ff20 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Launch

func Launch(port uint16, config_file string, keys_dir string, version string) error

Types

type Config

type Config struct {
	GoogleOauth2      *GoogleOauth2               `toml:"google-oauth2,omitempty"`
	WechatOauth2      *wechat_oauth2.Config       `toml:"wechat-oauth2,omitempty"`
	WechatMiniProgram *wechat_mini_program.Config `toml:"wechat-mini-program,omitempty"`
	WechatPay         *wechat_pay.Config          `toml:"wechat-mini-pay,omitempty"`
	Redis             redis.Cluster               `toml:"redis"`
	Database          env.Database                `toml:"database"`
	RabbitMQ          rabbitmq.Config             `toml:"rabbitmq"`
	Minio             minio.Config                `toml:"minio"`
	Tls               env.Tls                     `toml:"tls"`
}

type GoogleOauth2

type GoogleOauth2 struct {
	ProjectID   string `toml:"project-id"`
	RedirectURL string `toml:"redirect-url"`
}

Jump to

Keyboard shortcuts

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