service

package
v0.0.0-...-2ad5e84 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID        = 0
	UpdateAll = 150
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Hidden  *bool  `json:"hidden"`
	Name    string `json:"name"`
	Comment string `json:"comment"`
}

type Result

type Result struct {
	Services          []config.ServiceTemplate    `json:"services"`
	Connections       []config.ConnectionTemplate `json:"connections"`
	NTTs              []string                    `json:"ntts"`
	IPv4              []string                    `json:"ipv4"`
	IPv6              []string                    `json:"ipv6"`
	IPv4Route         []string                    `json:"ipv4_route"`
	IPv6Route         []string                    `json:"ipv6_route"`
	PreferredAP       []string                    `json:"preferred_ap"`
	PaymentMembership []config.MembershipTemplate `json:"payment_membership"`
}

type ResultAdmin

type ResultAdmin struct {
	Services               []config.ServiceTemplate      `json:"services"`
	Connections            []config.ConnectionTemplate   `json:"connections"`
	NTTs                   []string                      `json:"ntts"`
	NOC                    []core.NOC                    `json:"nocs"`
	BGPRouter              []core.BGPRouter              `json:"bgp_router"`
	TunnelEndPointRouter   []core.TunnelEndPointRouter   `json:"tunnel_endpoint_router"`
	TunnelEndPointRouterIP []core.TunnelEndPointRouterIP `json:"tunnel_endpoint_router_ip"`
	IPv4                   []string                      `json:"ipv4"`
	IPv6                   []string                      `json:"ipv6"`
	IPv4Route              []string                      `json:"ipv4_route"`
	IPv6Route              []string                      `json:"ipv6_route"`
	PreferredAP            []string                      `json:"preferred_ap"`
	User                   []core.User                   `json:"user"`
	Group                  []core.Group                  `json:"group"`
	PaymentMembership      []config.MembershipTemplate   `json:"payment_membership"`
	MailTemplate           []config.MailTemplate         `json:"mail_template"`
	MemberType             []core.ConstantMembership     `json:"member_type"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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