Documentation ¶
Index ¶
- Constants
- type C
- type D
- type OverflowAction
- type Page
- func NewAboutPage(r *Router) Page
- func NewEntryPointPage(r *Router) Page
- func NewFileAddPage(r *Router) Page
- func NewFileEditPage(r *Router) Page
- func NewHTTPAddPage(r *Router) Page
- func NewHTTPEditPage(r *Router) Page
- func NewMenuPage(r *Router) Page
- func NewTCPAddPage(r *Router) Page
- func NewTCPEditPage(r *Router) Page
- func NewTCPEntryPointAddPage(r *Router) Page
- func NewTCPEntryPointEditPage(r *Router) Page
- func NewTunnelPage(r *Router) Page
- func NewUDPAddPage(r *Router) Page
- func NewUDPEditPage(r *Router) Page
- func NewUDPEntryPointAddPage(r *Router) Page
- func NewUDPEntryPointEditPage(r *Router) Page
- type PageOption
- type PageOptions
- type Route
- type Router
Constants ¶
View Source
const ( PageMenu = "/menu" PageTunnel = "/tunnel" PageNewFile = "/tunnel/file/create" PageNewHTTP = "/tunnel/http/create" PageNewTCP = "/tunnel/tcp/create" PageNewUDP = "/tunnel/udp/create" PageEditFile = "/tunnel/file/edit" PageEditHTTP = "/tunnel/http/edit" PageEditTCP = "/tunnel/tcp/edit" PageEditUDP = "/tunnel/udp/edit" PageEntryPoint = "/entrypoint" PageNewTCPEntryPoint = "/entrypoint/tcp/create" PageEditTCPEntryPoint = "/entrypoint/tcp/edit" PageNewUDPEntryPoint = "/entrypoint/udp/create" PageEditUDPEntryPoint = "/entrypoint/udp/edit" PageAbout = "/about" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type D ¶
type D = layout.Dimensions
type OverflowAction ¶
type OverflowAction string
const (
OverflowActionAbout OverflowAction = "about"
)
type Page ¶
type Page interface { Init(opts ...PageOption) Layout(gtx layout.Context, th *material.Theme) layout.Dimensions }
func NewAboutPage ¶
func NewEntryPointPage ¶ added in v0.2.0
func NewFileAddPage ¶
func NewFileEditPage ¶
func NewHTTPAddPage ¶
func NewHTTPEditPage ¶
func NewMenuPage ¶
func NewTCPAddPage ¶
func NewTCPEditPage ¶
func NewTCPEntryPointAddPage ¶ added in v0.2.0
func NewTCPEntryPointEditPage ¶ added in v0.2.0
func NewTunnelPage ¶
func NewUDPAddPage ¶
func NewUDPEditPage ¶
func NewUDPEntryPointAddPage ¶ added in v0.2.0
func NewUDPEntryPointEditPage ¶ added in v0.2.0
type PageOption ¶
type PageOption func(*PageOptions)
func IDPageOption ¶
func IDPageOption(id string) PageOption
type PageOptions ¶
type PageOptions struct {
ID string
}
Click to show internal directories.
Click to hide internal directories.