app

package
v0.0.0-...-177799f Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provides = wire.NewSet(
	wire.Struct(new(App), "*"),
)

Functions

This section is empty.

Types

type App

type App struct {
	Values *common.Values
	Client *dnspod.Client
}

func (*App) DescribeRecord

func (x *App) DescribeRecord() (value string, err error)

func (*App) FetchIp

func (x *App) FetchIp() (ip string, err error)

FetchIp 使用 https://hub.docker.com/r/traefik/whoami

func (*App) RecordModify

func (x *App) RecordModify(value string) (err error)

func (*App) Run

func (x *App) Run() (ticker *time.Ticker, err error)

func (*App) Watch

func (x *App) Watch() (err error)

type IpDto

type IpDto struct {
	Headers struct {
		Ip []string `json:"X-Forwarded-For"`
	} `json:"headers"`
}

Jump to

Keyboard shortcuts

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