package
2.0.0-alpha+incompatible
Repository: https://github.com/sergds/autovpn2.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
func (*AutoVPNServer) reportStatus(ss pb.AutoVPN_ApplyServer, msg string, status int32) {
st := msg
ss.Send(&pb.ApplyResponse{Status: status, Statustext: &st})
}
func (*AutoVPNServer) reportStatusUndo(ss pb.AutoVPN_UndoServer, msg string, status int32) {
st := msg
ss.Send(&pb.UndoResponse{Status: status, Statustext: &st})
}
func (s *AutoVPNServer) Undo(in *pb.UndoRequest, ss pb.AutoVPN_UndoServer) error {
ss.Send(&pb.UndoResponse{Status: pb.UNDO_STATUS_DNS})
shouldReturn, returnValue := s.UndoDNS(curpb, ss, in)
if shouldReturn {
return returnValue
}
ss.Send(&pb.UndoResponse{Status: pb.UNDO_STATUS_ROUTES})
// Try getting addrs from route addresses.
No description provided by the author
# Structs
No description provided by the author