Documentation ¶
Index ¶
- Variables
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetAddress() []string
- func (x *Client) GetAllowedIPs() []string
- func (x *Client) GetCreatedAt() int64
- func (x *Client) GetCreatedBy() string
- func (x *Client) GetEnable() bool
- func (x *Client) GetIgnorePersistentKeepalive() bool
- func (x *Client) GetName() string
- func (x *Client) GetPresharedKey() string
- func (x *Client) GetPublicKey() string
- func (x *Client) GetReceiveBytes() int64
- func (x *Client) GetTags() []string
- func (x *Client) GetTransmitBytes() int64
- func (x *Client) GetUUID() string
- func (x *Client) GetUpdatedAt() int64
- func (x *Client) GetUpdatedBy() string
- func (x *Client) GetWalletAddress() string
- func (a Client) IsValid() []error
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type RegionEndpoint
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetClient() *Client
- func (x *Response) GetClients() []*Client
- func (x *Response) GetError() string
- func (x *Response) GetMessage() string
- func (x *Response) GetServer() *Server
- func (x *Response) GetStatus() int64
- func (x *Response) GetSuccess() bool
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetAddress() []string
- func (x *Server) GetAllowedIPs() []string
- func (x *Server) GetCreatedAt() int64
- func (x *Server) GetDNS() []string
- func (x *Server) GetEndpoint() string
- func (x *Server) GetListenPort() int64
- func (x *Server) GetMtu() int64
- func (x *Server) GetPersistentKeepalive() int64
- func (x *Server) GetPostDown() string
- func (x *Server) GetPostUp() string
- func (x *Server) GetPreDown() string
- func (x *Server) GetPreUp() string
- func (x *Server) GetPrivateKey() string
- func (x *Server) GetPublicKey() string
- func (x *Server) GetUpdatedAt() int64
- func (x *Server) GetUpdatedBy() string
- func (a Server) IsValid() []error
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type Service
- type ServicesList
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetDNS() []string
- func (x *Status) GetDomain() string
- func (x *Status) GetGRPCPort() string
- func (x *Status) GetHostname() string
- func (x *Status) GetHttpPort() string
- func (x *Status) GetPersistentKeepalive() int64
- func (x *Status) GetPrivateIP() string
- func (x *Status) GetPublicIP() string
- func (x *Status) GetPublicKey() string
- func (x *Status) GetRegion() string
- func (x *Status) GetVPNPort() string
- func (x *Status) GetVersion() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type WireGuardServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=Tags,proto3" json:"Tags,omitempty"` WalletAddress string `protobuf:"bytes,4,opt,name=WalletAddress,proto3" json:"WalletAddress,omitempty"` Enable bool `protobuf:"varint,5,opt,name=Enable,proto3" json:"Enable,omitempty"` IgnorePersistentKeepalive bool `protobuf:"varint,6,opt,name=IgnorePersistentKeepalive,proto3" json:"IgnorePersistentKeepalive,omitempty"` PublicKey string `protobuf:"bytes,7,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` AllowedIPs []string `protobuf:"bytes,9,rep,name=AllowedIPs,proto3" json:"AllowedIPs,omitempty"` Address []string `protobuf:"bytes,10,rep,name=Address,proto3" json:"Address,omitempty"` CreatedBy string `protobuf:"bytes,11,opt,name=CreatedBy,proto3" json:"CreatedBy,omitempty"` UpdatedBy string `protobuf:"bytes,12,opt,name=UpdatedBy,proto3" json:"UpdatedBy,omitempty"` CreatedAt int64 `protobuf:"varint,13,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` UpdatedAt int64 `protobuf:"varint,14,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` ReceiveBytes int64 `protobuf:"varint,15,opt,name=ReceiveBytes,proto3" json:"ReceiveBytes"` TransmitBytes int64 `protobuf:"varint,16,opt,name=TransmitBytes,proto3" json:"TransmitBytes"` // contains filtered or unexported fields }
func (*Client) Descriptor
deprecated
func (*Client) GetAddress ¶
func (*Client) GetAllowedIPs ¶
func (*Client) GetCreatedAt ¶
func (*Client) GetCreatedBy ¶
func (*Client) GetIgnorePersistentKeepalive ¶
func (*Client) GetPresharedKey ¶
func (*Client) GetPublicKey ¶
func (*Client) GetReceiveBytes ¶
func (*Client) GetTransmitBytes ¶
func (*Client) GetUpdatedAt ¶
func (*Client) GetUpdatedBy ¶
func (*Client) GetWalletAddress ¶
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
type RegionEndpoint ¶
type Response ¶
type Response struct { Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` Client *Client `protobuf:"bytes,5,opt,name=client,proto3" json:"client,omitempty"` Server *Server `protobuf:"bytes,6,opt,name=server,proto3" json:"server,omitempty"` Clients []*Client `protobuf:"bytes,7,rep,name=clients,proto3" json:"clients,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetClients ¶
func (*Response) GetMessage ¶
func (*Response) GetSuccess ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct { Address []string `protobuf:"bytes,1,rep,name=Address,proto3" json:"Address,omitempty"` ListenPort int64 `protobuf:"varint,2,opt,name=ListenPort,proto3" json:"ListenPort,omitempty"` Mtu int64 `protobuf:"varint,3,opt,name=Mtu,proto3" json:"Mtu,omitempty"` PrivateKey string `protobuf:"bytes,4,opt,name=PrivateKey,proto3" json:"PrivateKey,omitempty"` PublicKey string `protobuf:"bytes,5,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` Endpoint string `protobuf:"bytes,6,opt,name=Endpoint,proto3" json:"Endpoint,omitempty"` PersistentKeepalive int64 `protobuf:"varint,7,opt,name=PersistentKeepalive,proto3" json:"PersistentKeepalive,omitempty"` DNS []string `protobuf:"bytes,8,rep,name=DNS,proto3" json:"DNS,omitempty"` AllowedIPs []string `protobuf:"bytes,9,rep,name=AllowedIPs,proto3" json:"AllowedIPs,omitempty"` PreUp string `protobuf:"bytes,10,opt,name=PreUp,proto3" json:"PreUp,omitempty"` PostUp string `protobuf:"bytes,11,opt,name=PostUp,proto3" json:"PostUp,omitempty"` PreDown string `protobuf:"bytes,12,opt,name=PreDown,proto3" json:"PreDown,omitempty"` PostDown string `protobuf:"bytes,13,opt,name=PostDown,proto3" json:"PostDown,omitempty"` UpdatedBy string `protobuf:"bytes,14,opt,name=UpdatedBy,proto3" json:"UpdatedBy,omitempty"` CreatedAt int64 `protobuf:"varint,15,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` UpdatedAt int64 `protobuf:"varint,16,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetAddress ¶
func (*Server) GetAllowedIPs ¶
func (*Server) GetCreatedAt ¶
func (*Server) GetEndpoint ¶
func (*Server) GetListenPort ¶
func (*Server) GetPersistentKeepalive ¶
func (*Server) GetPostDown ¶
func (*Server) GetPreDown ¶
func (*Server) GetPrivateKey ¶
func (*Server) GetPublicKey ¶
func (*Server) GetUpdatedAt ¶
func (*Server) GetUpdatedBy ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type Service ¶
type Service struct { Name string `json:"name"` Type string `json:"type"` IpAddress string `json:"ipAddress,omitempty"` Port string `json:"port"` Domain string `json:"domain"` Status string `json:"status,omitempty"` CreatedAt string `json:"createdAt"` }
struct name service
type ServicesList ¶
type ServicesList struct {
Services []Service `json:"services"`
}
type name services
type Status ¶
type Status struct { Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"` Domain string `protobuf:"bytes,3,opt,name=Domain,proto3" json:"Domain,omitempty"` PublicIP string `protobuf:"bytes,4,opt,name=PublicIP,proto3" json:"PublicIP,omitempty"` GRPCPort string `protobuf:"bytes,5,opt,name=gRPCPort,proto3" json:"gRPCPort,omitempty"` PrivateIP string `protobuf:"bytes,6,opt,name=PrivateIP,proto3" json:"PrivateIP,omitempty"` HttpPort string `protobuf:"bytes,7,opt,name=HttpPort,proto3" json:"HttpPort,omitempty"` Region string `protobuf:"bytes,8,opt,name=Region,proto3" json:"Region,omitempty"` VPNPort string `protobuf:"bytes,9,opt,name=VPNPort,proto3" json:"VPNPort,omitempty"` PublicKey string `protobuf:"bytes,10,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` PersistentKeepalive int64 `protobuf:"varint,11,opt,name=PersistentKeepalive,proto3" json:"PersistentKeepalive,omitempty"` DNS []string `protobuf:"bytes,12,rep,name=DNS,proto3" json:"DNS,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) GetGRPCPort ¶
func (*Status) GetHostname ¶
func (*Status) GetHttpPort ¶
func (*Status) GetPersistentKeepalive ¶
func (*Status) GetPrivateIP ¶
func (*Status) GetPublicIP ¶
func (*Status) GetPublicKey ¶
func (*Status) GetVPNPort ¶
func (*Status) GetVersion ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type WireGuardServer ¶
type WireGuardServer struct {
// contains filtered or unexported fields
}
WireGuardServer supports both Kernel and Userland implementations of WireGuard.
Click to show internal directories.
Click to hide internal directories.