Documentation
¶
Index ¶
- Variables
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetAddress() []string
- func (x *Client) GetAllowedIPs() []string
- func (x *Client) GetCreated() int64
- func (x *Client) GetCreatedBy() string
- func (x *Client) GetEmail() string
- func (x *Client) GetEnable() bool
- func (x *Client) GetIgnorePersistentKeepalive() bool
- func (x *Client) GetName() string
- func (x *Client) GetPresharedKey() string
- func (x *Client) GetPrivateKey() string
- func (x *Client) GetPublicKey() string
- func (x *Client) GetTags() []string
- func (x *Client) GetUUID() string
- func (x *Client) GetUpdated() int64
- func (x *Client) GetUpdatedBy() 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 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) GetSucess() 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) GetCreated() 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) GetUpdated() 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 Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetDomain() string
- func (x *Status) GetGRPCPort() string
- func (x *Status) GetHostname() string
- func (x *Status) GetHttpPort() string
- func (x *Status) GetPrivateIP() string
- func (x *Status) GetPublicIP() 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"`
Email string `protobuf:"bytes,4,opt,name=Email,proto3" json:"Email,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"`
AllowedIPs []string `protobuf:"bytes,8,rep,name=AllowedIPs,proto3" json:"AllowedIPs,omitempty"`
Address []string `protobuf:"bytes,9,rep,name=Address,proto3" json:"Address,omitempty"`
PrivateKey string `protobuf:"bytes,10,opt,name=PrivateKey,proto3" json:"PrivateKey,omitempty"`
PublicKey string `protobuf:"bytes,11,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"`
CreatedBy string `protobuf:"bytes,12,opt,name=CreatedBy,proto3" json:"CreatedBy,omitempty"`
UpdatedBy string `protobuf:"bytes,13,opt,name=UpdatedBy,proto3" json:"UpdatedBy,omitempty"`
Created int64 `protobuf:"varint,14,opt,name=Created,proto3" json:"Created,omitempty"`
Updated int64 `protobuf:"varint,15,opt,name=Updated,proto3" json:"Updated,omitempty"`
// contains filtered or unexported fields
}
func (*Client) Descriptor
deprecated
func (*Client) GetAddress ¶
func (*Client) GetAllowedIPs ¶
func (*Client) GetCreated ¶
func (*Client) GetCreatedBy ¶
func (*Client) GetIgnorePersistentKeepalive ¶
func (*Client) GetPresharedKey ¶
func (*Client) GetPrivateKey ¶
func (*Client) GetPublicKey ¶
func (*Client) GetUpdated ¶
func (*Client) GetUpdatedBy ¶
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Sucess bool `protobuf:"varint,2,opt,name=sucess,proto3" json:"sucess,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) 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"`
Created int64 `protobuf:"varint,15,opt,name=Created,proto3" json:"Created,omitempty"`
Updated int64 `protobuf:"varint,16,opt,name=Updated,proto3" json:"Updated,omitempty"`
// contains filtered or unexported fields
}
func (*Server) Descriptor
deprecated
func (*Server) GetAddress ¶
func (*Server) GetAllowedIPs ¶
func (*Server) GetCreated ¶
func (*Server) GetEndpoint ¶
func (*Server) GetListenPort ¶
func (*Server) GetPersistentKeepalive ¶
func (*Server) GetPostDown ¶
func (*Server) GetPreDown ¶
func (*Server) GetPrivateKey ¶
func (*Server) GetPublicKey ¶
func (*Server) GetUpdated ¶
func (*Server) GetUpdatedBy ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
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"`
// contains filtered or unexported fields
}
func (*Status) Descriptor
deprecated
func (*Status) GetGRPCPort ¶
func (*Status) GetHostname ¶
func (*Status) GetHttpPort ¶
func (*Status) GetPrivateIP ¶
func (*Status) GetPublicIP ¶
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.