coredogcontroller

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Port = "8443"
)

Variables

View Source
var (
	DEFAULT_CFG_PATH = "/etc/config/controller.yaml"
)

Functions

func ListenAndServe

func ListenAndServe()

Types

type Config

type Config struct {
	NoticeChannel []struct {
		// supported: wechat,slack
		Chan       string `yaml:"chan"`
		Webhookurl string `yaml:"webhookurl"`
	} `yaml:"NoticeChannel"`
}

type CorefileService

type CorefileService struct {
}

func (*CorefileService) Sub

func (s *CorefileService) Sub(ctx context.Context, r *pb.Corefile) (*pb.Corefile, error)

Jump to

Keyboard shortcuts

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