Documentation
¶
Overview ¶
Package fritzgo contains CLI tools to access fritz data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
ListUsers(context.Context) ([]fritztypes.User, error)
Info(context.Context) (fritztypes.Info, error)
}
Client represents an HTTP client to access fritz data.
type FritzGo ¶
type FritzGo struct {
// contains filtered or unexported fields
}
FritzGo is the core application to retrieve, manage and render fritz data.
type Renderer ¶
type Renderer interface {
ListUsers([]fritztypes.User) error
Info(fritztypes.Info) error
}
Renderer render fritz data.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd contains reusable, command-related helper functions.
|
Package cmd contains reusable, command-related helper functions. |
|
fritzgo
command
Package main runs the agent.
|
Package main runs the agent. |
|
internal
|
|
|
tablerend
Package tablerend renders tables.
|
Package tablerend renders tables. |
|
pkg
|
|
|
fritzclient
Package fritzclient contains an HTTP client to access the fritz box.
|
Package fritzclient contains an HTTP client to access the fritz box. |
|
fritzclient/middleware
Package middleware contains routing middleware.
|
Package middleware contains routing middleware. |
|
fritzcrypt
Package fritzcrypt decrypts fritz secrets.
|
Package fritzcrypt decrypts fritz secrets. |
|
fritztypes
Package fritztypes contains fritz types.
|
Package fritztypes contains fritz types. |
Click to show internal directories.
Click to hide internal directories.